zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] vladimirivic opened a new pull request #953: ZOOKEEPER-3398
Date Tue, 21 May 2019 02:33:29 GMT
vladimirivic opened a new pull request #953: ZOOKEEPER-3398
URL: https://github.com/apache/zookeeper/pull/953
 
 
   After leader election happens, the followers will connect to the leader which is facilitated
by the Learner.connectToLeader() method. 
   
   Learner.connectToLeader() is relying on the initLimit configuration value to time-out in
case the network connection is unreliable. This config may have a high value that could leave
the ensemble retrying and waiting in the state of not having quorum for too long. The follower
will retry up to 5 times. 
   
   This patch introduces a new configuration directive that will allow Zookeeper to use different
time-out value `connectToLeaderLimit` which then could be set to lower value than `initLimit`.
   
   Test plan:
   - ant clean 
   - ant test-core-java
   
   NOTE: Lots of whitespace changes, hope it helps.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message