jsancio commented on code in PR #19747: URL: https://github.com/apache/kafka/pull/19747#discussion_r2102726808
########## raft/src/main/java/org/apache/kafka/raft/QuorumState.java: ########## @@ -481,6 +480,7 @@ public void prospectiveAddVotedState( int epoch, ReplicaKey candidateKey ) { + prospectiveStateOrThrow(); Review Comment: Write a comment as to why you are doing this. To me this is not obvious at first glance. -- 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