cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14517) Short read protection can cause partial updates to be read
Date Wed, 13 Jun 2018 08:37:00 GMT

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

Stefan Podkowinski commented on CASSANDRA-14517:
------------------------------------------------

I'm a bit confused what kind of guarantees related to atomicity and partial updates this ticket
refers to. How can any potential SRP triggered extra reads (which are only regular reads)
on the coordinator break guarantees that partition updates will be atomic?

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message