cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Svihla ...@foundev.pro>
Subject Re: Read gets stale data after failure of commit phase in CAS operation
Date Mon, 25 Jul 2016 01:10:16 GMT
are you using one of the SERIAL Consistency Levels?

-- 
Ryan Svihla

On July 24, 2016 at 8:08:01 PM, Yuji Ito (yuji@imagine-orb.com) wrote:

> 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