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

Yunseop Eom commented on KAFKA-18389:
-------------------------------------

Follow-up on PR #22203: https://github.com/apache/kafka/pull/22203

The latest commit, da42f3920a, removes the stale unrelated transition comment 
requested in review. The branch also contains the votedKey toString assertion, 
focused candidate-to-leader regression coverage, and concise LeaderState 
Javadoc.

The targeted QuorumStateTest and LeaderStateTest suites and relevant Raft 
checkstyle/SpotBugs tasks pass. The PR is open and awaiting a second maintainer 
review.

> Do not lose votedKey on transition to LeaderState
> -------------------------------------------------
>
>                 Key: KAFKA-18389
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18389
>             Project: Kafka
>          Issue Type: Improvement
>          Components: kraft
>            Reporter: Alyssa Huang
>            Priority: Minor
>
> After KAFKA-17642 is merged in, all epoch state transitions (other than the 
> transition to Leader) will preserve votedKey and leaderId state. We should 
> make the transition to LeaderState consistent with this.



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

Reply via email to