Re: lightweight transaction timeout

2013-12-05 Thread Jonathan Ellis
Does turning tracing on shed any light? On Tue, Dec 3, 2013 at 8:33 PM, Jim Xu wrote: > Hi all, > > I use two threads to test lightweight transaction. Each thread execute > "insert into test_table(column1,column2) values (i, thread_id) if not > exists" N times, and "i" is in the range of 0~N. If

Re: lightweight transaction timeout

2013-12-04 Thread J. Ryan Earl
Actually I may be wrong... But I would still try with 3-nodes. On Wed, Dec 4, 2013 at 11:04 PM, J. Ryan Earl wrote: > You're using only 2 nodes, Paxos requires a minimum of 3 nodes to > establish a quorum. Cassandra should likely disallow lightweight > transactions entirely in a 2-node scenar

Re: lightweight transaction timeout

2013-12-04 Thread J. Ryan Earl
You're using only 2 nodes, Paxos requires a minimum of 3 nodes to establish a quorum. Cassandra should likely disallow lightweight transactions entirely in a 2-node scenario. On Tue, Dec 3, 2013 at 8:33 PM, Jim Xu wrote: > Hi all, > > I use two threads to test lightweight transaction. Each thr

lightweight transaction timeout

2013-12-03 Thread Jim Xu
Hi all, I use two threads to test lightweight transaction. Each thread execute "insert into test_table(column1,column2) values (i, thread_id) if not exists" N times, and "i" is in the range of 0~N. If N is a small number, it is ok,some row are inserted by thread 1 and other rows are inserted by th