This is an automated email from the ASF dual-hosted git repository.
maoling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new bccc654e0 ZOOKEEPER-4808: Fix the log statement in FastLeaderElection
bccc654e0 is described below
commit bccc654e09d9e85fe3495487b9619173a2c54151
Author: li4wang <[email protected]>
AuthorDate: Sat Jun 15 02:43:24 2024 -0700
ZOOKEEPER-4808: Fix the log statement in FastLeaderElection
Reviewers: maoling
Author: li4wang
Closes #2136 from li4wang/ZOOKEEPER-4808
---
.../java/org/apache/zookeeper/server/quorum/FastLeaderElection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
index 83555a616..5a6b18fd1 100644
---
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
+++
b/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),