Github user afine commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/419#discussion_r151560463
--- 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 --
For instance, it may be nice to have the default strategy perform the
existing behavior.
---