소스 검색

ZOOKEEPER-4808: Fix the log statement in FastLeaderElection

Reviewers: maoling
Author: li4wang
Closes #2136 from li4wang/ZOOKEEPER-4808
li4wang 11 달 전
부모
커밋
bccc654e09
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java

+ 1 - 1
zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java

@@ -702,7 +702,7 @@ public class FastLeaderElection implements Election {
                 qv.toString().getBytes(UTF_8));
 
             LOG.debug(
-                "Sending Notification: {} (n.leader), 0x{} (n.peerEpoch), 0x{} (n.zxid), 0x{} (n.round), {} (recipient),"
+                "Sending Notification: {} (n.leader), 0x{} (n.zxid), 0x{} (n.peerEpoch), 0x{} (n.round), {} (recipient),"
                     + " {} (myid) ",
                 proposedLeader,
                 Long.toHexString(proposedZxid),