Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19500

[Analytics] Fix XXHash32Digest calculated digest value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Ready to Commit
    • Normal
    • Resolution: Unresolved
    • None
    • Analytics Library
    • None
    • Correctness - Unrecoverable Corruption / Loss
    • Normal
    • Low Hanging Fruit
    • DTest
    • All
    • None
    • Hide

      Existing tests surfaced the issue. We modify the implementation and unit tests.

      Show
      Existing tests surfaced the issue. We modify the implementation and unit tests.

    Description

      When bumping the Sidecar version used in Analytics, an issue surfaced in the Analytics implementation of XXHash32 where we cast the hash value to long, and the negative sign is forwarded causing the incorrect hash value to be returned.

      Attachments

        Issue Links

          Activity

            People

              frankgh Francisco Guerrero
              frankgh Francisco Guerrero
              Francisco Guerrero
              Yifan Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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