runzhiwang commented on a change in pull request #161:
URL: https://github.com/apache/incubator-ratis/pull/161#discussion_r466182408
##########
File path:
ratis-server/src/main/java/org/apache/ratis/server/impl/ServerState.java
##########
@@ -221,10 +221,10 @@ boolean hasLeader() {
/**
* Become a candidate and start leader election
*/
- long initElection() {
+ long initElection(boolean preVote) {
Review comment:
@GlenGeng Thanks for review, I define askForPreVotes method to process
pre vote, in this method, it will not change voteFor.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]