zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eribeiro <...@git.apache.org>
Subject [GitHub] zookeeper pull request #500: ZOOKEEPER-2959: ignore accepted epoch and LEADE...
Date Sat, 14 Apr 2018 21:38:35 GMT
Github user eribeiro commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/500#discussion_r181267836
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Leader.java ---
    @@ -868,8 +868,8 @@ synchronized public long startForwarding(LearnerHandler handler,
                     
             return lastProposed;
         }
    -
    -    private HashSet<Long> connectingFollowers = new HashSet<Long>();
    +    // VisibleForTesting
    +    protected HashSet<Long> connectingFollowers = new HashSet<Long>();
    --- End diff --
    
    `protected Set<Long> connectingFollowers = new HashSet<>();`
    



---

Mime
View raw message