zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eolivelli <...@git.apache.org>
Subject [GitHub] zookeeper pull request #722: [ZOOKEEPER-3203] Tracking the number of non vot...
Date Thu, 29 Nov 2018 12:38:54 GMT
Github user eolivelli commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/722#discussion_r237470021
  
    --- Diff: zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LeaderBean.java
---
    @@ -51,6 +51,15 @@ public String followerInfo() {
             return sb.toString();
         }
     
    +    @Override
    +    public String nonVotingFollowerInfo() {
    +        StringBuilder sb = new StringBuilder();
    +        for (LearnerHandler handler : leader.getNonVotingFollowers()) {
    +            sb.append(handler.toString()).append("\n");
    --- End diff --
    
    Ok I think we can live with it


---

Mime
View raw message