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

José Armando García Sancio commented on KAFKA-16530:
----------------------------------------------------

A record/offset is committed once it has been replicated and persisted by the 
majority of the voter set. The leader may not be in the voter set so it should 
not be counted when determining if a record/offset has been committed.

> 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)

Reply via email to