Unexpected value after insert

2013-11-04 Thread Luiz Carlos Jr
Hi ! I have a script written in python that should update a counter in Cassandra. It acts like a batch that corrects the counter. What script does is: get the real value that should be at database, get the current value that is persisted at database, calculates the difference between values and f

Re: Unexpected value after insert

2013-11-05 Thread Luiz Carlos Jr
u logging the update command you are sending Cassandra? Are you sure > you aren't overflowing the value either in Cassandra or in your batch code? > > On Monday, November 4, 2013, Luiz Carlos Jr wrote: > > > Hi ! > > > > I have a script written in python that should up

Re: Unexpected value after insert

2013-11-05 Thread Luiz Carlos Jr
for the help ! Luiz On Tue, Nov 5, 2013 at 7:08 PM, Jacob Rhoden wrote: > Hi Luiz, > > On 5 Nov 2013, at 12:37 am, Luiz Carlos Jr wrote: > > What script does is: get the real value that should be at database, get > the > > current value that is persisted at database, ca

Re: Unexpected value after insert

2013-11-05 Thread Luiz Carlos Jr
On Tue, Nov 5, 2013 at 2:28 PM, Luiz Carlos Jr > wrote: > > > Hi Christopher, > > > > Actually it's not a counter, but just a field that stores integers. I'm > > logging the expected values but not the command itself because I'm using > > p