kevin-wu24 commented on code in PR #22111:
URL: https://github.com/apache/kafka/pull/22111#discussion_r3417002313
##########
raft/src/main/java/org/apache/kafka/raft/FollowerState.java:
##########
@@ -106,6 +106,11 @@ public long remainingFetchTimeMs(long currentTimeMs) {
return fetchTimer.remainingMs();
}
+ public long remainingUpdateVoterSetTimeMs(long currentTimeMs) {
Review Comment:
It's to fix some logic in
`RaftClientTestContext#advanceTimeAndCompleteFetch`, so that both timers won't
be expired on a subsequent invocation of the helper method. I was originally
using this method to write my test case, but ended up changing the test to not
use this helper. I can remove it from the PR if it is confusing things.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]