Blake Eggleston created CASSANDRA-14517:
-------------------------------------------

             Summary: 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


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.
 
In some cases, read repair can make this partial update permanent. If a write 
hits a single node, but fails to reach the other replicas, part of it is 
returned via SRP and read repaired to the rest of the replicas, then the single 
node with then full write fails before repair or read repair, the partial write 
will become permanent.



--
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