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

Single partition queries can mistakenly omit partition deletions and resurrect data

    XMLWordPrintableJSON

    Details

    • Bug Category:
      Correctness - Transient Incorrect Response
    • Severity:
      Critical
    • Complexity:
      Normal
    • Discovered By:
      Code Inspection
    • Platform:
      All
    • Impacts:
      None
    • Since Version:
    • Test and Documentation Plan:
      Hide

      New in-jvm dtests added. For trunk, the proposed snapshot on mismatch feature has a descriptive comment in cassandra.yaml, but we should add full docs for repaired data tracking in general.

      Show
      New in-jvm dtests added. For trunk, the proposed snapshot on mismatch feature has a descriptive comment in cassandra.yaml, but we should add full docs for repaired data tracking in general.

      Description

      We have logic that allows us to exclude sstables with partition deletions that are older than the minimum collected timestamp in a local request. However, it’s possible that another node could have rows that aren’t known to the local node that are in turn older than the excluded partition deletion. In such a scenario, those will be mistakenly resurrected, which is a correctness issue.

        Attachments

          Activity

            People

            • Assignee:
              samt Sam Tunnicliffe
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Sam Tunnicliffe
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: