Browse Source

ZOOKEEPER-4808: Fix the log statement in FastLeaderElection

Reviewers: maoling
Author: li4wang
Closes #2136 from li4wang/ZOOKEEPER-4808
li4wang 10 months ago
parent
commit
bccc654e09

+ 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));
                 qv.toString().getBytes(UTF_8));
 
 
             LOG.debug(
             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) ",
                     + " {} (myid) ",
                 proposedLeader,
                 proposedLeader,
                 Long.toHexString(proposedZxid),
                 Long.toHexString(proposedZxid),