Github user hanm commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/703#discussion_r237367990
  
    --- Diff: 
zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumPeer.java
 ---
    @@ -1989,6 +1989,38 @@ private boolean updateVote(long designatedLeader, 
long zxid){
         /**
          * Updates leader election info to avoid inconsistencies when
          * a new server tries to join the ensemble.
    +     *
    +     * Here is the inconsistency scenario we try to solve by updating the 
peer 
    --- End diff --
    
    awesome comments.


---

Reply via email to