You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2013/07/24 14:24:47 UTC
[10/50] [abbrv] git commit: updated
refs/heads/1781-reorganize-and-improve-docs to fa11c25
Mention X-Couch-Full-Commit header for bulk API.
COUCHDB-1858
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9af2b446
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9af2b446
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9af2b446
Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: 9af2b446a7f2c163b28d3ebd3bd61cf11cedcdb3
Parents: f38fab0
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Jul 23 03:04:02 2013 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Jul 24 10:48:37 2013 +0400
----------------------------------------------------------------------
share/doc/src/api/database.rst | 15 +++++++++++++++
1 file changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9af2b446/share/doc/src/api/database.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/api/database.rst b/share/doc/src/api/database.rst
index be6643e..ae85948 100644
--- a/share/doc/src/api/database.rst
+++ b/share/doc/src/api/database.rst
@@ -599,6 +599,21 @@ timestamp for when the CouchDB instance was started:
* **Request**: JSON of the docs and updates to be applied
* **Response**: JSON success statement
* **Admin Privileges Required**: no
+
+* **HTTP Headers**:
+
+ * **Header**: ``X-Couch-Full-Commit``
+
+ * **Description**: Overrides server's commit policy.
+ * **Optional**: yes
+ * **Values**:
+
+ * **true**: Ensures that any non-committed changes are committed to
+ physical storage.
+ * **false**: Uses the delay commit in opposite to ``true`` value. CouchDB
+ responses quickly, but without any guarantees that all data are
+ successfully stored on disk.
+
* **Return Codes**:
* **201**: