ahuang98 commented on code in PR #19747:
URL: https://github.com/apache/kafka/pull/19747#discussion_r2098773109


##########
raft/src/main/java/org/apache/kafka/raft/QuorumState.java:
##########
@@ -505,7 +505,6 @@ public void prospectiveAddVotedState(
             );
         }
 
-        ProspectiveState prospectiveState = prospectiveStateOrThrow();
         // Note that we reset the election timeout after voting for a 
candidate because we
         // know that the candidate has at least as good of a chance of getting 
elected as us

Review Comment:
   hm, right, we no longer need to reset election timeouts because loss of 
prospective elections are non-disruptive
   



-- 
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