[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ZOOKEEPER-4808:
--------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to