[ 
https://issues.apache.org/jira/browse/KAFKA-20734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143827#comment-18143827
 ] 

Stef Noten commented on KAFKA-20734:
------------------------------------

Hi,

This issue has been the root cause for us for several production outages at 
different customers. The issues ranged from failed startup on routine machine 
restarts, to random areas of our platform that silently stopped working (health 
checks on lag did not report the issue since consumers had caught up to the 
last stable offset). Only manual intervention could fix it.

I realize all software of course has bugs and appreciate the fix. However, 
since this issue was already known and has such a severe operational impact, 
I'm genuinely wondering how we as Kafka users should approach upgrades. Even 
when checking open tickets, it's difficult to estimate operational impact when 
you're not deeply familiar with Kafka's own internals.

Would it be an idea to flag known critical issues (possibly retroactively once 
discovered) on release note pages? At least for us, that would have prevented 
us from upgrading a few weeks ago and would have avoided these outages.

> 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
>            Assignee: Wang Xiaoqing
>            Priority: Blocker
>             Fix For: 4.5.0, 4.4.1, 4.3.3
>
>
> 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)

Reply via email to