are you using one of the SERIAL Consistency Levels? -- Ryan Svihla
On July 24, 2016 at 8:08:01 PM, Yuji Ito (y...@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 >