[
https://issues.apache.org/jira/browse/KAFKA-20734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134282#comment-18134282
]
Justine Olshan commented on KAFKA-20734:
----------------------------------------
Hi [~philipp94831]
I merged the trunk PR within the past week. The 4.4 change is already in, but
the 4.3 proved to be difficult as crucial test files are missing in that branch
and I was working on porting the tests in a way that makes sense. Folks
regularly call for patch releases, but I personally don't have the bandwidth to
start one.
Apache Kafka is run by the community, so if there is something that you want to
get done, you can help out!
> 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, 4.4.0, 4.5
> Reporter: Alyssa Huang
> Assignee: Wang Xiaoqing
> Priority: Blocker
>
> 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
(v10.3.26#10030026)