cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Trivial Update of "FAQ" by JonathanEllis
Date Mon, 14 Jun 2010 13:31:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "FAQ" page has been changed by JonathanEllis.
The comment on this change is: re-do "mutations against a single key are atomic".
http://wiki.apache.org/cassandra/FAQ?action=diff&rev1=75&rev2=76

--------------------------------------------------

  <<Anchor(batch_mutate_atomic)>>
  
  == Are batch_mutate operations atomic? ==
- No.  [[API#batch_mutate|batch_mutate]] is a way to group many operations into a single call
in order to save on the cost of network round-trips.  If `batch_mutate` fails in the middle
of its list of mutations, no rollback occurs and the mutations that have already been applied
stay applied. The client should typically retry the mutation.
+ As a special case, mutations against a single key are atomic, but more generally no. [[API#batch_mutate|batch_mutate]]
allows grouping operations on many keys into a single call in order to save on the cost of
network round-trips. If `batch_mutate` fails in the middle of its list of mutations, no rollback
occurs and the mutations that have already been applied stay applied. The client should typically
retry the `batch_mutate` operation. 
  

Mime
View raw message