zookeeper-dev mailing list archives

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

    https://github.com/apache/zookeeper/pull/628#discussion_r219023394
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Leader.java ---
    @@ -1170,6 +1194,16 @@ synchronized public long startForwarding(LearnerHandler handler,
     
             return lastProposed;
         }
    +
    +    @Override
    +    public void waitForStartup() throws InterruptedException {
    +        synchronized(zk){
    --- End diff --
    
    nit: space after synchronized(zk)


---

Mime
View raw message