zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brian-lininger <...@git.apache.org>
Subject [GitHub] zookeeper pull request #419: ZOOKEEPER-2849: Exponential back-off retry for ...
Date Fri, 17 Nov 2017 19:11:22 GMT
Github user brian-lininger commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/419#discussion_r151766328
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java ---
    @@ -946,7 +946,8 @@ protected Election createElectionAlgorithm(int electionAlgorithm){
                     le = new AuthFastLeaderElection(this, true);
                     break;
                 case 3:
    -                qcm = new QuorumCnxManager(this);
    +                qcm = new QuorumCnxManager(this,
    +                    ExponentialBackoffStrategy.builder().build());
    --- End diff --
    
    Agreed, included in my upcoming push.


---

Mime
View raw message