kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gustafson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-7959) Clear/delete epoch cache if old message format is in use
Date Fri, 22 Feb 2019 23:50:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-7959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Gustafson resolved KAFKA-7959.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.2

> Clear/delete epoch cache if old message format is in use
> --------------------------------------------------------
>
>                 Key: KAFKA-7959
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7959
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Stanislav Kozlovski
>            Priority: Major
>             Fix For: 2.0.2
>
>
> Because of KAFKA-7897, it is possible to have a sparse epoch cache when using the old
message format. The fix for that issue addresses the problem of improper use of that cache
while the message format remains on an older version. However, it leaves the possibility of
misuse during a message format upgrade, which can cause unexpected truncation and re-replication.
To fix the problem, we should delete or at least clear the cache whenever the old message
format is used.
> Note that this problem was fixed unintentionally in 2.1 with the patch for KAFKA-7897.
This issue applies specifically to the 2.0 branch.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message