[ 
https://issues.apache.org/jira/browse/KAFKA-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

José Armando García Sancio updated KAFKA-18377:
-----------------------------------------------
    Component/s: kraft

> Investigate transition out of resigned state
> --------------------------------------------
>
>                 Key: KAFKA-18377
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18377
>             Project: Kafka
>          Issue Type: Improvement
>          Components: kraft
>            Reporter: Alyssa Huang
>            Assignee: Alyssa Huang
>            Priority: Major
>
> Previously, this ticket was for investigating if we can short circuit to 
> unattached on receiving all endquorum acks.
> Resigned state keeps track of `unackedVoters` and on pollResigned only sends 
> endQuorum requests to those voters. We thought it might be useful to short 
> circuit this to allow the replica to discover any new leader more quickly 
> (say in the case that the node was removed from quorum, the new leader would 
> not be sending beginquorum requests to this node). However, there is a flaw 
> in that logic - resigned must increase its epoch when transitioning, so any 
> replica that communicates with this replica would then have to bump its epoch.
>  
> We want to achieve a balance of allowing other replicas to make progress in 
> their elections and potentially become leader, while not having resigned 
> replicas sit doing nothing for too long.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to