summaryrefslogtreecommitdiff
path: root/src/mongo/db/create_indexes.idl
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2022-06-14 14:12:46 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-14 15:33:19 +0000
commitf16576af43cbe0c6ab8a1d0dc1528937c9045693 (patch)
tree81f789cfa70229ea10c11ce439aa685aaa0cdba8 /src/mongo/db/create_indexes.idl
parent29da187f3941a9a9338e3bac57c0ca5f3133cc95 (diff)
downloadmongo-f16576af43cbe0c6ab8a1d0dc1528937c9045693.tar.gz
SERVER-62737 Improve documentation of commitQuorum vs writeConcern in createIndexes
Diffstat (limited to 'src/mongo/db/create_indexes.idl')
-rw-r--r--src/mongo/db/create_indexes.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/create_indexes.idl b/src/mongo/db/create_indexes.idl
index 247e0295edb..f00f287af5a 100644
--- a/src/mongo/db/create_indexes.idl
+++ b/src/mongo/db/create_indexes.idl
@@ -215,7 +215,10 @@ commands:
default: false
unstable: true
commitQuorum:
- description: 'Commit Quorum options'
+ description: "Dictates which or how many replica set members must be ready to commit
+ the index build before the primary will proceed to commit the index.
+ This minimizes replication lag by ensuring secondaries are ready for
+ commit and can quickly apply the commit on a finished index build"
type: CommitQuorum
optional: true
unstable: false