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

IndexHelper.skipBloomFilters won't skip non-SHA filters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.4, 2.0 beta 1
    • None
    • None
    • 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-v2.patch
          15 kB
          Carl Yeksigian
        2. 5385.patch
          8 kB
          Carl Yeksigian

        Issue Links

          Activity

            People

              carlyeks Carl Yeksigian
              carlyeks Carl Yeksigian
              Carl Yeksigian
              Jason Brown
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: