You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by lvfangmin <gi...@git.apache.org> on 2018/07/14 06:51:59 UTC
[GitHub] zookeeper pull request #555: ZOOKEEPER-3061: add more details to 'Unhandled ...
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?
---