zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanm <...@git.apache.org>
Subject [GitHub] zookeeper pull request #628: ZOOKEEPER-3140: Allow Followers to host Observe...
Date Sat, 29 Sep 2018 05:04:32 GMT
Github user hanm commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/628#discussion_r221415836
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Learner.java ---
    @@ -84,8 +84,12 @@ public Socket getSocket() {
         
         protected static final Logger LOG = LoggerFactory.getLogger(Learner.class);
     
    +    private static final int leaderConnectDelayDuringRetryMs =
    +            Integer.getInteger("zookeeper.leaderConnectDelayDuringRetryMs", 100);
    --- End diff --
    
    missing documents for `zookeeper.leaderConnectDelayDuringRetryMs`.
    
    also the old value of this is 1000ms, and the new default value is 100ms. any reason for
this change?


---

Mime
View raw message