Re: atomic test-or-set

2010-10-06 Thread Simon Reavely
Ryan, Independent of this ambiguous requirement what were you thinking about. What I am trying to ask is can you be more specific/concrete about when you can Simon Reavely On Oct 5, 2010, at 11:30 AM, Ryan King wrote: > On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogers > wrote: >> >> Does Cassan

Re: atomic test-or-set

2010-10-05 Thread Ian Rogers
On 05/10/2010 16:30, Ryan King wrote: On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogers wrote: Does Cassandra have an atomic test-or-set operation? That is, I want to check to see if a key has a value and, if not, set it to something. But it must be an atomic operation - I can't do a separate fetch

Re: atomic test-or-set

2010-10-05 Thread Ryan King
On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogers wrote: > > Does Cassandra have an atomic test-or-set operation? > > That is, I want to check to see if a key has a value and, if not, set it to > something.  But it must be an atomic operation - I can't do a separate fetch > and then set from the applicat