Li Wang created ZOOKEEPER-4808:
----------------------------------
Summary: Fix the log statement in FastLeaderElection
Key: ZOOKEEPER-4808
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4808
Project: ZooKeeper
Issue Type: Bug
Components: server
Reporter: Li Wang
The proposedZxid and proposedEpoch is out of order in the following debug
statement.
{code:java}
LOG.debug(
"Sending Notification: {} (n.leader), 0x{} (n.peerEpoch), 0x{}
(n.zxid), 0x{} (n.round), {} (recipient),"+underlined text+
+ " {} (myid) ",
proposedLeader,
Long.toHexString(proposedZxid),
Long.toHexString(proposedEpoch),
Long.toHexString(logicalclock.get()),
sid,
self.getMyId());
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)