[ 
https://issues.apache.org/jira/browse/CASSANDRA-14874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680455#comment-16680455
 ] 

Ariel Weisberg commented on CASSANDRA-14874:
--------------------------------------------

bq. I'll still suggest that maybe the trivial solution I've hinted in my 
previous comment might be a good stopgap option to make things behave 
predictably most of the time.
+1

> 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
>            Priority: Minor
>
> 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