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

    https://github.com/apache/zookeeper/pull/703#discussion_r239309222
  
    --- Diff: 
zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
 ---
    @@ -1023,9 +1016,9 @@ else if (validVoter(n.sid) && validVoter(n.leader)) {
                                  */
                                 if (n == null) {
                                     setPeerState(proposedLeader, voteSet);
    -
                                     Vote endVote = new Vote(proposedLeader,
    -                                        proposedZxid, proposedEpoch);
    +                                        proposedZxid, logicalclock.get(), 
    --- End diff --
    
    sgtm to keep consistent with existing code style.


---

Reply via email to