ahuang98 commented on code in PR #18240: URL: https://github.com/apache/kafka/pull/18240#discussion_r1899077542
########## raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java: ########## @@ -957,13 +998,33 @@ private boolean handleVoteResponse( } } + private void maybeCandidateStartBackingOff(long currentTimeMs) { Review Comment: for now, I've kept the helper but increased its scope to handle the case when prospective loses the election. I've renamed it as `maybeHandleElectionLoss` -- 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