Counter write applies a value eventually when WriteTimeoutException?

2020-01-05 Thread Yuji Ito
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

Re: How to know execute_async correctly?

2020-01-05 Thread Alex Ott
Hi There are several things here: 1. When you're executing query via execute_async, instead of ResultSet you're getting ResponseFuture instead. Then you can use .result on it to obtain results of execution, or error. Another possibility is to attach callbacks to that Future object. Se