cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: Does the 'batch' order matter ?
Date Wed, 14 Mar 2012 20:15:21 GMT
On Wed, Mar 14, 2012 at 11:50 AM, A J <s5alye@gmail.com> wrote:

>
> Are you saying the way 'batch mutate' is coded, the order of writes in
> the batch does not mean anything ? You can ask the batch to do A,B,C
> and then D in sequence; but sometimes Cassandra can end up applying
> just C and A,B (and D) may still not be applied ?


No, batch_mutate() is an atomic operation.  When a node locally applies a
batch mutation, either all of the changes are applied or none of them are.

Aaron was referring to the possibility that one of the replicas received
the batch_mutate, but the other replicas did not.

-- 
Tyler Hobbs
DataStax <http://datastax.com/>

Mime
View raw message