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

Reply via email to