incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Atomic or Non-Atomic Counters
Date Thu, 25 Aug 2011 02:35:49 GMT
They are atomic in the sense that if you increment from N to M,
readers will never see any intermediate values, just N or M itself.

On Wed, Aug 24, 2011 at 6:50 PM, Sal Fuentes <fuentesjr@gmail.com> wrote:
> The design document that isĀ referencedĀ on the Cassandra wiki page
> (http://wiki.apache.org/cassandra/Counters) describes the Counters in
> Cassandra as non-atomic
> (https://issues.apache.org/jira/secure/attachment/12459754/Partitionedcountersdesigndoc.pdf).
> However, the DataStax post on counters
> (http://www.datastax.com/dev/blog/whats-new-in-cassandra-0-8-part-2-counters)
> suggests that they are atomic. My impression is that the design document is
> outdated (Nov2010). Can someone confirm or deny that these Counters are
> atomic?
>
>
> --
> Salvador Fuentes Jr.
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message