Re: batch_mutate atomicity

2010-08-09 Thread Peter Schuller
> I am using the familiar meanings from ACID: > > atomic means either the entire update will succeed or none of it. > > isolated means other threads will not see partial updates while it is > being applied. A related concern is whether there is a write *ordering* guarantee for mutations within a r

Re: batch_mutate atomicity

2010-08-07 Thread Benjamin Black
The first. On Sat, Aug 7, 2010 at 10:04 AM, james anderson wrote: > good afternoon; > > On 2010-08-07, at 15:26 , Jonathan Ellis wrote: > >> I am using the familiar meanings from ACID: >> >> atomic means either the entire update will succeed or none of it. >> >> isolated means other threads will

Re: batch_mutate atomicity

2010-08-07 Thread james anderson
good afternoon; On 2010-08-07, at 15:26 , Jonathan Ellis wrote: I am using the familiar meanings from ACID: atomic means either the entire update will succeed or none of it. isolated means other threads will not see partial updates while it is being applied. yes, those terms are not new. i

Re: batch_mutate atomicity

2010-08-07 Thread Jonathan Ellis
I am using the familiar meanings from ACID: atomic means either the entire update will succeed or none of it. isolated means other threads will not see partial updates while it is being applied. On Sat, Aug 7, 2010 at 12:50 AM, james anderson wrote: > good morning; > > On 2010-08-07, at 02:45 ,

Re: batch_mutate atomicity

2010-08-06 Thread james anderson
good morning; On 2010-08-07, at 02:45 , Jonathan Ellis wrote: Everything in the same key of a batch_mutate is atomic. (But not isolated.) what does the distinction mean in the context of cassandra? is it that the execution of an operation with the same key could see the effect of the 'f

Re: batch_mutate atomicity

2010-08-06 Thread Jonathan Ellis
Everything in the same key of a batch_mutate is atomic. (But not isolated.) On Fri, Aug 6, 2010 at 2:15 PM, B. Todd Burruss wrote: > ok i just saw the FAQ > (http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomic) > > follow up question ... > > it states that "As a special case, mutations agai

Re: batch_mutate atomicity

2010-08-06 Thread B. Todd Burruss
ok i just saw the FAQ (http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomic) follow up question ... it states that "As a special case, mutations against a single key are atomic, but more generally no" ... i interpret that to also mean " .. mutations against a single key in the same CF ... "

batch_mutate atomicity

2010-08-06 Thread B. Todd Burruss
if i am using batch_mutate to update/insert two columns in the same CF and same key, is this an atomic operation? i understand that an operation on a single key in a CF is atomic, but not sure if the above scenario boils down to two operations or considered one operation. thx