[ https://issues.apache.org/jira/browse/KAFKA-16530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849342#comment-17849342 ]
Alyssa Huang commented on KAFKA-16530: -------------------------------------- [~jsancio] > This is not correct because this will also increase the HWM when it > shouldn't. Only the LEO of voters should be counted when computing if the HWM > has increased. Hm, was there a certain scenario you were thinking of for this? In what case wouldn't we want the HWM to consider the leader as well? For what it's worth, I don't think this solution (by itself at least) is on the table since it would not solve the case where a follower is removed from the quorum and can potentially decrease the HWM. Just want to make sure I understand your comment. > Fix high-watermark calculation to not assume the leader is in the voter set > --------------------------------------------------------------------------- > > Key: KAFKA-16530 > URL: https://issues.apache.org/jira/browse/KAFKA-16530 > Project: Kafka > Issue Type: Sub-task > Components: kraft > Reporter: José Armando García Sancio > Assignee: Alyssa Huang > Priority: Major > Fix For: 3.8.0 > > > When the leader is being removed from the voter set, the leader may not be in > the voter set. This means that kraft should not assume that the leader is > part of the high-watermark calculation. -- This message was sent by Atlassian Jira (v8.20.10#820010)