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

Anti-compaction briefly corrupts sstable state for reads

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 4.0, 3.0.x, 3.11.x
    • Component/s: None
    • Labels:
      None
    • Bug Category:
      Correctness - Transient Incorrect Response
    • Severity:
      Critical
    • Complexity:
      Challenging
    • Discovered By:
      Fuzz Test

      Description

      Since we use multiple sstable rewriters in anticompaction, the first call to prepareToCommit will remove the original sstables from the tracker view before the other rewriters add their sstables. This creates a brief window where reads can miss data.

        Attachments

          Activity

            People

            • Assignee:
              benedict Benedict
              Reporter:
              bdeggleston Blake Eggleston
              Authors:
              Benedict
              Reviewers:
              Marcus Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: