You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "cbertu81@libero.it" <cb...@libero.it> on 2012/07/19 15:07:00 UTC

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

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



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

Posted by aaron morton <aa...@thelastpickle.com>.
Nothing jumps out, can you reproduce the problem ? 

If you can repo it let us know and the RF / CL. 

Good luck.

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://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
> 
> 


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

Posted by Radim Kolar <hs...@filez.com>.
Dne 19.7.2012 15:07, cbertu81@libero.it napsal(a):
> Hi all, I have a problem with counters I'd like to solve before going in
> production.
I have also similar problem with counters, but i do no think that 
something can be done with it. Developers are not interested in 
discovering what is wrong and i do not have exact steps for re-creating 
problem.