You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "maoling (Jira)" <ji...@apache.org> on 2020/03/05 03:07:00 UTC

[jira] [Comment Edited] (ZOOKEEPER-3735) fix the bad format of RATE_LOGGER

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051775#comment-17051775 ] 

maoling edited comment on ZOOKEEPER-3735 at 3/5/20, 3:06 AM:
-------------------------------------------------------------

--->_*Looks like there were code changes to the DataTree deserializeZxidDigest method that now prevents this log entry from being called*_

[~jono.morris@xtra.co.nz]  Could you plz explain it for me?


was (Author: maoling):
--->_*Looks like there were code changes to the DataTree deserializeZxidDigest method that now prevents this log entry from being called*_

__Could you plz explain for me?

> fix the bad format of RATE_LOGGER
> ---------------------------------
>
>                 Key: ZOOKEEPER-3735
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3735
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: maoling
>            Priority: Minor
>
> {code:java}
> } else if (digestFromLoadedSnapshot.zxid != 0 && zxid > digestFromLoadedSnapshot.zxid) {
>     RATE_LOGGER.rateLimitLog("The txn 0x{} of snapshot digest does not "
>             + "exist.", Long.toHexString(digestFromLoadedSnapshot.zxid));
> }
> {code}
> the printed log likes this:
> {code:java}
> Message:The txn 0x{} of snapshot digest does not exist. Value:fa4e00000082
> {code}
> *1. 0x{}* takes no effort
> *2. RATE_LOGGER.rateLimitLog* doesn't use like the ordinary LOG



--
This message was sent by Atlassian Jira
(v8.3.4#803005)