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


##########
raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java:
##########
@@ -3315,10 +3315,7 @@ private long pollFollowerAsVoter(FollowerState state, 
long currentTimeMs) {
 
         return Math.min(
             backoffMs,
-            Math.min(
-                state.remainingFetchTimeMs(currentTimeMs),
-                state.remainingUpdateVoterSetPeriodMs(currentTimeMs)
-            )
+            state.remainingFetchTimeMs(currentTimeMs)

Review Comment:
   I see, the backoffMs accounts for the time to wait before processing the 
result of any updateVoteRequest



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