Re: idempotent counters

2014-05-19 Thread Jabbar Azam
Thanks Aaron. I've mitigated this by removing the dependency on idempotent counters. But its good to know the limitations of counters. Thanks Jabbar Azam On 19 May 2014 08:36, "Aaron Morton" wrote: > Does anybody else use another technique for achieving this idempoten

Re: idempotent counters

2014-05-19 Thread Aaron Morton
> Does anybody else use another technique for achieving this idempotency with > counters? The idempotency problem with counters has to do with what will happen when you get a timeout. If you reply the write there is a chance of the increment been applied twice. This is inherent in the current d

idempotent counters

2014-05-12 Thread Jabbar Azam
Hello, Do people use counters when they want to have idempotent operations in cassandra? I have a use case for using a counter to check for a count of objects in a partition. If the counter is more than some value then the data in the partition is moved into two different partitions. I can't work