frankvicky opened a new pull request, #19236:
URL: https://github.com/apache/kafka/pull/19236

   JIRA: KAFKA-18379
   
   For further details, please refer to
   
[KIP-996](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=272927537#KIP996:PreVote-ResignedStatechanges)
 and https://github.com/apache/kafka/pull/18240#discussion_r1899341945.
   
   In short, this PR adds a check for the transition from the resigned state to 
other states to prevent a resigned leader from accidentally becoming its own 
follower in the same epoch, which would create an invalid circular reference.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to