BinyuHuang-nju commented on code in PR #1690:
URL: https://github.com/apache/zookeeper/pull/1690#discussion_r1232422734


##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerHandler.java:
##########
@@ -1030,7 +1030,7 @@ protected long queueCommittedProposals(Iterator<Proposal> 
itr, long peerLastZxid
             // is the catch when our history older than learner and there is
             // no new txn since then. So we need an empty diff
             LOG.info(
-                "Sending TRUNC zxid=0x{}  for peer sid: {}",
+                "Sending DIFF zxid=0x{}  for peer sid: {}",

Review Comment:
   In this branch, the leader will send an empty DIFF sync message to the 
corresponding learner, instead of TRUNC. We have corrected the log output 
accordingly. If there are any difficulties with merging, we can remove the 
change in this pull request.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to