couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "HTTP_Bulk_Document_API" by RandallLeeds
Date Fri, 23 Dec 2011 04:50:37 GMT
Dear Wiki user,

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

The "HTTP_Bulk_Document_API" page has been changed by RandallLeeds:
http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API?action=diff&rev1=14&rev2=15

Comment:
Clarify that all_or_nothing actually has no impact on durability.

  
   * '''non-atomic''' - This is the default behavior.  Some documents may successfully be
saved and some may not.  The response will tell the application which documents were saved
or not. In the case of a power failure, when the database restarts some may have been saved
and some not.
  
-  * '''all-or-nothing''' - To use this mode, include {{{"all_or_nothing":true}}} as part
of the request.  In the case of a power failure, when the database restarts either all the
changes will have been saved or none of them.  However, it does not do conflict checking,
so the documents will be committed even if this creates conflicts.
+  * '''all-or-nothing''' - To use this mode, include {{{"all_or_nothing":true}}} as part
of the request.  In the case of a validation failure, none of the documents will be saved.
 However, it does not do conflict checking, so all documents will be committed even if this
creates conflicts.
  
  {{{#!highlight javascript
  {

Mime
View raw message