Rajini Sivaram created KAFKA-13207:
--------------------------------------
Summary: 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
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)