Blake Eggleston created CASSANDRA-14517:

             Summary: Short read protection can cause partial updates to be read
                 Key: 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

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to