You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Todd Burruss <bb...@expedia.com> on 2012/06/03 02:53:47 UTC

batch isolation

reading the 1.1 "what's new" here, http://www.datastax.com/docs/1.1/getting_started/new_features, I'm wondering about row level isolation.

two questions:

1 – does this mean that a batch_mutate that first sends a "row delete" mutation on key X, then subsequent insert mutations for key X is isolated?

2 – does isolation span column families for the same key  within the same batch_mutate?

Re: batch isolation

Posted by Sylvain Lebresne <sy...@datastax.com>.
On Sun, Jun 3, 2012 at 2:53 AM, Todd Burruss <bb...@expedia.com> wrote:>
> 1 – does this mean that a batch_mutate that first sends a "row delete"
> mutation on key X, then subsequent insert mutations for key X is isolated?

I'm not sure what you mean by having "a batch_mutate that first sends
... then ...", since a batch_mutate is a single API call.

> 2 – does isolation span column families for the same key  within the same
> batch_mutate?

No, it doesn't span column families (contrarily to atomicity). There
is more details in
http://www.datastax.com/dev/blog/row-level-isolation.

--
Sylvain