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

Read repair can race with truncations

    XMLWordPrintableJSON

Details

    • Low

    Description

      While hint and commit log replay handle truncation alright, we don't have anything to prevent a read/read-repair to race with TRUNCATE. In other words, you can have a read reading some pre-truncation data, some truncation running and removing that data, and then some read-repair mutation from that previous read that resurrects some data that should have bene truncated.

      Probably not that common in practice, but can lead to seemingly random data surviving truncate.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slebresne Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: