[
https://issues.apache.org/jira/browse/KAFKA-20734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alyssa Huang updated KAFKA-20734:
---------------------------------
Affects Version/s: 4.3.0
> Offline partition can cause loss of transaction markers
> -------------------------------------------------------
>
> Key: KAFKA-20734
> URL: https://issues.apache.org/jira/browse/KAFKA-20734
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 4.3.0
> Reporter: Alyssa Huang
> Priority: Major
>
> During the rewrite of the KRaftMetadataCache (as part of KAFKA-17573), a bug
> was introduced which causes transaction coordinator to drop transaction
> markers for a partition if the leader is missing (offline). Specifically,
> {{metadataCache.getPartitionLeaderEndpoint}} returns {{None}} instead of
> {{Some(Node.noNode).}}
> This bug can cause hanging transaction and lost commit markers. Thanks
> [~alivshits] for the identification of this issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)