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)


---

Reply via email to