Hi,

I'm testing Cassandra CAS operation.

Can a read operation read uncommitted data which is being updated by CAS in
the following case?

I use Cassandra 2.2.6.
There are 3 nodes (A, B and C) in a cluster.
Replication factor of keyspace is 3.
CAS operation on node A starts to update row X (updating the value in row
from 0 to 1).

1. prepare/promise phase succeeds on node A
2. node C is down
3. read/results phase in node A sends read requests to node B and C and
waits for read responses from them.
4. (unrelated) read operation (CL: SERIAL) reads the same row X and gets
the value "1" in the row!!
5. read/results phase fails by ReadTimeoutException caused by failure of
node C

Thanks,
Yuji Ito

Reply via email to