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

Incorrect IOException in SequenceFile when BF returns false positive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • Normal

    Description

      In SequenceFile.AbstractReader.seekTo(), an IOException is thrown when a key can't be found in an SSTable. This is incorrect. The BF associated with the SSTable could return a false positive. So a key may indeed not be present in the SSTable file. We need to handle this case accordingly.

      Attachments

        1. issue126.patch_v1
          3 kB
          Jun Rao
        2. issue126.patch_v1.test
          2 kB
          Jun Rao
        3. 126-v2.patch
          4 kB
          Jonathan Ellis

        Activity

          People

            junrao Jun Rao
            junrao Jun Rao
            Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: