You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TengYao Chi (Jira)" <ji...@apache.org> on 2025/01/03 04:59:00 UTC
[jira] [Commented] (KAFKA-18377) Investigate transition out of resigned state
[ https://issues.apache.org/jira/browse/KAFKA-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909460#comment-17909460 ]
TengYao Chi commented on KAFKA-18377:
-------------------------------------
Hi [~alyssahuang]
No problem ;)
> Investigate transition out of resigned state
> --------------------------------------------
>
> Key: KAFKA-18377
> URL: https://issues.apache.org/jira/browse/KAFKA-18377
> Project: Kafka
> Issue Type: Improvement
> 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)