133tosakarin commented on code in PR #1168:
URL: https://github.com/apache/ratis/pull/1168#discussion_r1805786947
##########
ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderElection.java:
##########
@@ -333,7 +333,7 @@ private boolean askForVotes(Phase phase, int round) throws
InterruptedException,
LOG.info("{} {} round {}: submit vote requests at term {} for {}", this,
phase, round, electionTerm, conf);
final ResultAndTerm r = submitRequestAndWaitResult(phase, conf,
electionTerm);
LOG.info("{} {} round {}: result {}", this, phase, round, r);
-
+ CompletableFuture<Void> future = null;
Review Comment:
Thank you for your valuable advice
--
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]