zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject zookeeper git commit: ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java.
Date Tue, 30 May 2017 23:02:13 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.5 4138cb0ff -> c6685ac73


ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java.

Author: Abraham Fine <afine@apache.org>

Reviewers: Michael Han <hanm@apache.org>

Closes #266 from afine/ZOOKEEPER-2788

(cherry picked from commit e358a808d172c31e114eee1cc2957fe92d0d142e)
Signed-off-by: Michael Han <hanm@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/c6685ac7
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/c6685ac7
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/c6685ac7

Branch: refs/heads/branch-3.5
Commit: c6685ac739dbc4d84de728f343695e7948bad6f6
Parents: 4138cb0
Author: Abraham Fine <afine@apache.org>
Authored: Tue May 30 16:01:59 2017 -0700
Committer: Michael Han <hanm@apache.org>
Committed: Tue May 30 16:02:10 2017 -0700

----------------------------------------------------------------------
 .../org/apache/zookeeper/server/quorum/QuorumCnxManager.java    | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c6685ac7/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
----------------------------------------------------------------------
diff --git a/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java b/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
index 57cf8d9..5f94108 100644
--- a/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
+++ b/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
@@ -74,11 +74,6 @@ public class QuorumCnxManager {
     static final int SEND_CAPACITY = 1;
 
     static final int PACKETMAXSIZE = 1024 * 512;
-    /*
-     * Maximum number of attempts to connect to a peer
-     */
-
-    static final int MAX_CONNECTION_ATTEMPTS = 2;
     
     /*
      * Negative counter for observer server ids.


Mime
View raw message