cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cbertu81@libero.it" <cbert...@libero.it>
Subject R: Re: Counters values are less than expected [1.0.6 - Java/Pelops]
Date Mon, 23 Jul 2012 10:29:50 GMT


Cannot reproduce ...Written in CL Quorum, RF = 3, cluster of 5 nodes ... I suppose it's an
issue with the client since it's not the first "strange behaviour" with CounterColumns ...



----Messaggio originale----

Da: aaron@thelastpickle.com

Data: 20/07/2012 11.12

A: <user@cassandra.apache.org>

Ogg: Re: Counters values are less than expected [1.0.6 - Java/Pelops]



Nothing jumps out, can you reproduce the problem ? 
If you can repo it let us know and the RF / CL. 
Good luck.

-----------------Aaron MortonFreelance Developer@aaronmortonhttp://www.thelastpickle.com



On 20/07/2012, at 1:07 AM, cbertu81@libero.it wrote:Hi all, I have a problem with counters
I'd like to solve before going in 
production.
When a user write a comment in my platform I increase a counter (there is a 
counter for each user) and I write a new column in the user specific row.
Everything worked fine but yesterday I noticed that the column count of the 
Row was different from the counters value ... 

In my test environment the user had 7 comments, so 7 columns and 7 as value of 
his countercolumn.
I wrote 3 comments in few minutes, the counter value was still 7, the columns 
number was 10!
Counters and columns are written in the same operation. I've checked for my 
application log but all was normal.
I wrote one more comment today to check and now counter is 8 and column number 
is 11 .....

I'm trying to get permissions to read the cassandra log (no comment) but in 
the meanwhile I'd like to know if anyone faced problems like this one ... I've 
read that sometimes people had counters bigger than expected due to client 
retry of succesful operation marked as failed ...  

I will post log results ... thanks for any help

Regards,
Carlo








Mime
View raw message