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

    https://github.com/apache/zookeeper/pull/555#discussion_r202508110
  
    --- Diff: 
src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java ---
    @@ -792,7 +792,14 @@ public boolean syncFollower(long peerLastZxid, 
ZKDatabase db, Leader leader) {
                         txnProposalItr.close();
                     }
                 } else {
    -                LOG.warn("Unhandled scenario for peer sid: " +  getSid());
    +                LOG.warn("Unhandled scenario for peer sid: {} 
maxCommittedLog=0x{}"
    --- End diff --
    
    The same context is also provided at line 703 except the txnLogSyncEnabled, 
looks like nothing changed between these lines, any reason we added this extra 
logging here?


---

Reply via email to