cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <gdusba...@gmail.com>
Subject Re: Questions regarding batch mutates and transactions
Date Thu, 27 May 2010 13:05:00 GMT
On Wed, May 26, 2010 at 04:45, Todd Nine <todd@spidertracks.co.nz> wrote:
>
> Now, here is where I can't find what I need in the doc.  In case 1, if my
> mutation from biz op 2 were to fail during a batch mutate operation
> encapsulating all mutations, does the batch mutation as a whole not get
> executed, or would I still have the mutation from op 1 written to cassandra
> while the op 2 write fails?
> Thanks,

batch_mutate makes no atomicity guarantees.  It s intended to help
avoiding many round-trips.

It can fail half-way through leaving you with a partially completed batch.

Gary.

Mime
View raw message