Row level deletion information is included in the row level isolation. 

Cheers


-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 5/06/2012, at 6:05 AM, Todd Burruss wrote:

> I don't think I'm being clear.  I just was wondering if a "row delete" is
> isolated with all the other inserts or deletes to a specific column family
> and key in the same batch.
> 
> On 6/4/12 1:58 AM, "Sylvain Lebresne" <sylv...@datastax.com> wrote:
> 
>> On Sun, Jun 3, 2012 at 6:05 PM, Todd Burruss <bburr...@expedia.com> wrote:
>>> I just meant there is a "row delete" in the same batch as inserts - all
>>> to
>>> the same column family and key
>> 
>> Then it's the timestamp that will decide what happens. Whatever has a
>> timestamp lower or equal to the tombstone timestamp will be deleted
>> (that stands for insert in the batch itself).
>> 
>> --
>> Sylvain
>> 
>> 
>>> 
>>> 
>>> -----Original Message-----
>>> From: Sylvain Lebresne [sylv...@datastax.com]
>>> Received: Sunday, 03 Jun 2012, 3:44am
>>> To: user@cassandra.apache.org [user@cassandra.apache.org]
>>> Subject: Re: batch isolation
>>> 
>>> On Sun, Jun 3, 2012 at 2:53 AM, Todd Burruss <bburr...@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
> 

Reply via email to