You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/06/14 15:31:42 UTC

[Cassandra Wiki] Trivial Update of "FAQ" by JonathanEllis

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.