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

Incorrect IOException in SequenceFile when BF returns false positive

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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

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

              Dates

              • Created:
                Updated:
                Resolved: