Hi,

Can we know if a value is applied eventually after WriteTimeoutException?

I'm investigate the behavior of the counter write of Cassandra.
In CAS write, we can know the value is applied eventually when the
WriteType of the response is SIMPLE because it failed in the commit phase.
How about the counter write?

Table:
CREATE TABLE ks.counters (
id int PRIMARY KEY,
count counter
);

Request:
UPDATE counters SET count = count + 1 WHERE id = 0;

Ref.
https://www.datastax.com/blog/2014/10/cassandra-error-handling-done-right

Thanks,
Yuji

Reply via email to