You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Radim Kolar <hs...@filez.com> on 2012/03/24 06:34:38 UTC

Re: Counters and replication factor

> I still have wrong results (I simulated an event 5 times and it was 
> counted 3 times by some counters 4 or 5 times by others.
I have also wrong results with counters in 1.0.8, many times updates to 
counter column are just lost and sometimes counters are going backwards 
even if our app uses only increments. Dont reply on counters for 
something important. they are still beta quality.

We are now using zookeeper for "important counters" and cassandra for 
junk like statistic.

Re: Counters and replication factor

Posted by Radim Kolar <hs...@filez.com>.
Dne 25.5.2012 2:41, Edward Capriolo napsal(a):
>
> Also it does not sound like you have run anti entropy repair. You 
> should do that when upping rf.
i run entropy repairs and it still does not fix counters. I have some 
reports from users with same problem but nobody discovered repeatable 
scenario. I am currently in migrating phase to Infinispan data grid, it 
does not seems to have problems with distributed counters.

Re: Counters and replication factor

Posted by Edward Capriolo <ed...@gmail.com>.
Also it does not sound like you have run anti entropy repair. You should do
that when upping rf.
On Monday, May 21, 2012, Radim Kolar <hs...@filez.com> wrote:
> Dne 26.3.2012 19:17, aaron morton napsal(a):
>>
>> Can you describe the situations where counter updates are lost or go
backwards ?
>>
>> Do you ever get TimedOutExceptions when performing counter updates ?
>
> we got few timeouts per day but not much, less then 10. I do not think
that timeouts will be root cause. I havent figured exact steps to reproduce
it (i havent even tried). We are reading at CL.ONE but cluster is well
synchronized and we are reading long time after writing - new value should
be present at all nodes allready.
>

Re: Counters and replication factor

Posted by Radim Kolar <hs...@filez.com>.
Dne 26.3.2012 19:17, aaron morton napsal(a):
> Can you describe the situations where counter updates are lost or go 
> backwards ?
>
> Do you ever get TimedOutExceptions when performing counter updates ?
we got few timeouts per day but not much, less then 10. I do not think 
that timeouts will be root cause. I havent figured exact steps to 
reproduce it (i havent even tried). We are reading at CL.ONE but cluster 
is well synchronized and we are reading long time after writing - new 
value should be present at all nodes allready.

Re: Counters and replication factor

Posted by aaron morton <aa...@thelastpickle.com>.
Can you describe the situations where counter updates are lost or go backwards ?

Do you ever get TimedOutExceptions when performing counter updates ? 

Cheers
 
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 24/03/2012, at 6:34 PM, Radim Kolar wrote:

> 
>> I still have wrong results (I simulated an event 5 times and it was counted 3 times by some counters 4 or 5 times by others.
> I have also wrong results with counters in 1.0.8, many times updates to counter column are just lost and sometimes counters are going backwards even if our app uses only increments. Dont reply on counters for something important. they are still beta quality.
> 
> We are now using zookeeper for "important counters" and cassandra for junk like statistic.