Li Wang created ZOOKEEPER-4845: ---------------------------------- Summary: 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
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)