Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3915

Digest false mismatch across systems with different default locale

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      A portion of the CRC32 hash in DigestCalculator comes from converting the path String to bytes.  The code does not specify a locale so the default is used.  We experienced a situation where we had participants on different environments (each with a different locale) and the digest mismatched incorrectly. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stickyhipp Peter Welch

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                  Issue deployment