This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new 067cf13f0 chore(docs): correct default q value in POST /{db}
067cf13f0 is described below
commit 067cf13f07dcf9ac96f6ee46e146d1b40f411682
Author: Steven <[email protected]>
AuthorDate: Fri Sep 27 15:47:01 2024 +0200
chore(docs): correct default q value in POST /{db}
The default value of q=2 when creating a database was introduced in CouchDB
3.x.
---
src/docs/src/api/database/common.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/docs/src/api/database/common.rst
b/src/docs/src/api/database/common.rst
index e6e81fb7d..e726a1b94 100644
--- a/src/docs/src/api/database/common.rst
+++ b/src/docs/src/api/database/common.rst
@@ -150,7 +150,7 @@
:param db: Database name
:query integer q: Shards, aka the number of range partitions. Default is
- 8, unless overridden in the :config:option:`cluster config <cluster/q>`.
+ 2, unless overridden in the :config:option:`cluster config <cluster/q>`.
:query integer n: Replicas. The number of copies of the database in the
cluster. The default is 3, unless overridden in the
:config:option:`cluster config <cluster/n>` .