You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Rajini Sivaram (Jira)" <ji...@apache.org> on 2021/08/17 19:00:00 UTC

[jira] [Resolved] (KAFKA-13207) Replica fetcher should not update partition state on diverging epoch if partition removed from fetcher

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

Rajini Sivaram resolved KAFKA-13207.
------------------------------------
    Resolution: Fixed

> Replica fetcher should not update partition state on diverging epoch if partition removed from fetcher
> ------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-13207
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13207
>             Project: Kafka
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 2.8.0
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>            Priority: Critical
>             Fix For: 3.0.0, 2.8.1
>
>
> {{AbstractFetcherThread#truncateOnFetchResponse}}{color:#24292e} is used with IBP 2.7 and above to truncate partitions based on diverging epoch returned in fetch responses. Truncation should only be performed for partitions that are still owned by the fetcher and this check should be done while holding {color}{{partitionMapLock}}{color:#24292e} to ensure that any partitions removed from the fetcher thread are not truncated{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)