Alyssa Huang created KAFKA-18377:
------------------------------------

             Summary: pollResigned can short circuit to unattached on receiving 
all endquorum acks
                 Key: KAFKA-18377
                 URL: https://issues.apache.org/jira/browse/KAFKA-18377
             Project: Kafka
          Issue Type: Improvement
            Reporter: Alyssa Huang


Resigned state keeps track of `unackedVoters` and on pollResigned only sends 
endQuorum requests to those voters. Right now it is not used to short circuit 
the transition to Unattached once the set is empty. 

It would 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).



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

Reply via email to