see-quick commented on code in PR #12692:
URL: https://github.com/apache/kafka/pull/12692#discussion_r982190906
##########
raft/src/main/java/org/apache/kafka/raft/VotedState.java:
##########
@@ -92,11 +92,6 @@ public boolean hasElectionTimeoutExpired(long currentTimeMs)
{
return electionTimer.isExpired();
}
- public void overrideElectionTimeout(long currentTimeMs, long timeoutMs) {
Review Comment:
I will revert this method deletion and let only these test cases. Sounds
good? I wonder if adding a test case for such an (un-used) method would be
beneficial...
--
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]