Alyssa Huang created KAFKA-20734:
------------------------------------

             Summary: 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
            Reporter: Alyssa Huang


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)

Reply via email to