cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuji Ito <y...@imagine-orb.com>
Subject Read gets stale data after failure of commit phase in CAS operation
Date Mon, 25 Jul 2016 01:08:01 GMT
Hi,

I have another question about CAS operation.

Can a read get stale data after failure in commit phase?

According to the following article,
when a write fails in commit phase (a WriteTimeout with WriteType SIMPLE
happens),
a subsequent read will repair the uncommitted state
and get the latest data which the write tried to update.

Ref. http://www.datastax.com/dev/blog/cassandra-error-handling-done-right

However, when I tested the process,
the subsequent read can get the previous data which should be overwritten.

Is the repair not always executed in the read?

Thanks,
Yuji

Mime
View raw message