Re: WriteTimeoutException on Lightweight transactions

2013-12-24 Thread Demian Berjman
Very helpful!! Thanks, On Tue, Dec 24, 2013 at 12:17 AM, Aaron Morton wrote: > Some background…. > > http://www.datastax.com/dev/blog/lightweight-transactions-in-cassandra-2-0 > > You can also get a timeout during the prepare phase, well anytime you are > waiting on other node really. The Write

Re: WriteTimeoutException on Lightweight transactions

2013-12-23 Thread Aaron Morton
Some background…. http://www.datastax.com/dev/blog/lightweight-transactions-in-cassandra-2-0 You can also get a timeout during the prepare phase, well anytime you are waiting on other node really. The WriteTimeoutException returned from the server includes a writeType (https://github.com/apach

WriteTimeoutException on Lightweight transactions

2013-12-19 Thread Demian Berjman
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