Cassandra
  1. Cassandra
  2. CASSANDRA-126

Incorrect IOException in SequenceFile when BF returns false positive

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

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

        Activity

        Jun Rao created issue -
        Jun Rao made changes -
        Field Original Value New Value
        Attachment issue126.patch_v1 [ 12406957 ]
        Jun Rao made changes -
        Attachment issue126.patch_v1.test [ 12406962 ]
        Jonathan Ellis made changes -
        Attachment 126-v2.patch [ 12406972 ]
        Jonathan Ellis made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12462337 ] patch-available, re-open possible [ 12750299 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12750299 ] reopen-resolved, no closed status, patch-avail, testing [ 12756702 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development