Hi. I am using Cassandra 2.0.3 with Datastax Java client.

I execute an insert query:

Insert insert = QueryBuilder.insertInto("demo_cl","demo_table").value("id",
id).value("col1", "transactions").ifNotExists();

session.execute(insert.setConsistencyLevel(ConsistencyLevel.QUORUM);

Then, i force a shutdown on one node and get:

com.datastax.driver.core.exceptions.WriteTimeoutException: Cassandra
timeout during write query at consistency SERIAL (2 replica were required
but only 1 acknowledged the write)

Then i read the row and i got not results. It seems that it was not
inserted. What happened to the "1 acknowledged the write"? It's lost? It's
like a rollback?

Thanks,

Reply via email to