Sylvain Lebresne created CASSANDRA-14874:
--------------------------------------------

             Summary: Read repair can race with truncations
                 Key: CASSANDRA-14874
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14874
             Project: Cassandra
          Issue Type: Bug
          Components: Local Write-Read Paths
            Reporter: Sylvain Lebresne


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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to