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

BloomFilter serialization format should not change byte ordering

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      As a follow-up to CASSANDRA-9066 and CASSANDRA-9060, it appears we do some unnecessary byte swapping during the serialization of bloom filters, which makes the logic slower and harder to follow. We should either perform them more efficiently (using Long.reverseBytes) or, preferably, eliminate the conversion altogether since it does not appear to serve any purpose.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jay.zhuang Jay Zhuang
                Reporter:
                benedict Benedict Elliott Smith
                Authors:
                Jay Zhuang
                Reviewers:
                Jason Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: