You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "jmestwa-coder (via GitHub)" <gi...@apache.org> on 2026/06/02 06:54:51 UTC

[PR] encode node path as UTF-8 in DigestCalculator [zookeeper]

jmestwa-coder opened a new pull request, #2400:
URL: https://github.com/apache/zookeeper/pull/2400

   calculateDigest hashes the node path with the platform default charset, so a member whose file.encoding is not UTF-8 computes a different digest for the same non-ASCII znode path and raises false digest mismatches. Encode the path as UTF-8, matching the wire format and the rest of the string handling. Bump the digest version so existing snapshots and mixed-version peers skip the comparison during upgrade.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] encode node path as UTF-8 in DigestCalculator [zookeeper]

Posted by "jmestwa-coder (via GitHub)" <gi...@apache.org>.
jmestwa-coder commented on PR #2400:
URL: https://github.com/apache/zookeeper/pull/2400#issuecomment-4757049323

   any update?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org