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

Blake Eggleston commented on CASSANDRA-14517:
---------------------------------------------

It doesn't break the guarantee on the write path, partitions are still updated 
atomically internally. It breaks on the read path though, since an SRP can 
create a read response which contains a torn write.

> Short read protection can cause partial updates to be read
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-14517
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14517
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Blake Eggleston
>            Priority: Major
>             Fix For: 4.0
>
>
> If a read is performed in two parts due to short read protection, and the 
> data being read is written to between reads, the coordinator will return a 
> partial update. Specifically, this will occur if a single partition batch 
> updates clustering values on both sides of the SRP break, or if a range 
> tombstone is written that deletes data on both sides of the break. At the 
> coordinator level, this breaks the expectation that updates to a partition 
> are atomic, and that you can’t see partial updates.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to