Re: Multiple inserts cause consistency failures

2010-11-09 Thread Aaron Morton
time.time() returns the number of seconds since epoch, with fractions. The definition of the timestamp param for insert is 64 bit int. So my guess is thrift is passing your timestamp to int() and so you are always sending the same timestamp as the code runs 3 times in the same second. You are seein

Multiple inserts cause consistency failures

2010-11-09 Thread Rajat Chopra
Requesting the forum's kind attention to consistency failures that I notice. Cassandra version - 0.6.4 Thrift version - 0.4.0 Driving Language - Python Machine - 4 core, 8G, Fedora 13, i686 storage_conf.xml - default I took the example from -> http://wiki.apache.org/cassandra/ThriftExamples#Pytho