runzhiwang commented on a change in pull request #402:
URL: https://github.com/apache/incubator-ratis/pull/402#discussion_r564132856



##########
File path: 
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServerConfigKeys.java
##########
@@ -555,6 +555,16 @@ static TimeDuration leaderStepDownWaitTime(RaftProperties 
properties) {
     static void setLeaderStepDownWaitTime(RaftProperties properties, 
TimeDuration noLeaderTimeout) {
       setTimeDuration(properties::setTimeDuration, 
LEADER_STEP_DOWN_WAIT_TIME_KEY, noLeaderTimeout);
     }
+
+    String PRE_VOTE_KEY = PREFIX + ".pre-vote";
+    boolean PRE_VOTE_DEFAULT = true;

Review comment:
       If we use false, when we change to true ? I think default true maybe 
better.




----------------------------------------------------------------
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]


Reply via email to