[
https://issues.apache.org/jira/browse/ZOOKEEPER-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865622#comment-17865622
]
Li Wang commented on ZOOKEEPER-4845:
------------------------------------
will submit a PR for the fix.
> Fix the digest mismatch log
> ---------------------------
>
> Key: ZOOKEEPER-4845
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4845
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Li Wang
> Assignee: Li Wang
> Priority: Minor
>
> Currently we log the TxnDigest object as the expected digest instead of the
> tree digest number. This makes it quite confusing when comparing the expected
> digest with the actual digest, as the actual digest is the number.
> Change digest to logDigest in the following code.
>
> {code:java}
> if (firstMismatchTxn) {
> LOG.error("First digest mismatch on txn: {}, {}, "
> + "expected digest is {}, actual digest is {}, ",
> header, txn, digest, actualDigest);
> firstMismatchTxn = false;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)