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

IndexHelper.skipBloomFilters won't skip non-SHA filters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.4, 2.0 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      Currently, if the bloom filter is not of SHA type, we do not properly skip the bytes. We need to read out the number of bytes, as happens in the Murmur deserializer, then skip that many bytes instead of just skipping the hash size. The version needs to be passed into the method as well, so that it knows what type of index it is, and does the appropriate skipping.

        Attachments

        1. 5385.patch
          8 kB
          Carl Yeksigian
        2. 5385-v2.patch
          15 kB
          Carl Yeksigian

          Issue Links

            Activity

              People

              • Assignee:
                carlyeks Carl Yeksigian
                Reporter:
                carlyeks Carl Yeksigian
                Authors:
                Carl Yeksigian
                Reviewers:
                Jason Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: