zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanm <...@git.apache.org>
Subject [GitHub] zookeeper pull request #628: ZOOKEEPER-3140: Allow Followers to host Observe...
Date Sat, 29 Sep 2018 05:06:10 GMT
Github user hanm commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/628#discussion_r221416362
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Follower.java ---
    @@ -196,6 +224,10 @@ protected long getLastQueued() {
             return lastQueued;
         }
     
    +    public Integer getSyncedObserverSize() {
    +        return  om == null ? null : om.getNumActiveObservers();
    --- End diff --
    
    making sense to me. I think current approach is good.


---

Mime
View raw message