kaijchen commented on code in PR #845:
URL: https://github.com/apache/ratis/pull/845#discussion_r1139934683
##########
ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderStateImpl.java:
##########
@@ -663,7 +663,7 @@ CompletableFuture<RaftClientReply>
submitStepDownRequestAsync(TransferLeadership
return pendingStepDown.submitAsync(request);
}
- private synchronized String sendStartLeaderElection(RaftPeerId follower,
TermIndex lastEntry) {
+ synchronized String sendStartLeaderElection(RaftPeerId follower, TermIndex
lastEntry) {
Review Comment:
Good catch. Thanks for the suggestion.
--
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]