@@ -14,10 +14,9 @@ setIndexCommitQuorum
1414
1515.. dbcommand:: setIndexCommitQuorum
1616
17- Changes the minimum number of data-bearing members (i.e commit
18- quorum), including the primary, that must complete an in-progress
19- :ref:`simultaneous index build <index-operations-simultaneous-build>`
20- before the primary marks those indexes as ready.
17+ The ``setIndexCommitQuorum`` command sets minimum number of
18+ data-bearing members that must be prepared to commit their local
19+ index builds before the primary node will commit the index.
2120
2221Syntax
2322------
@@ -81,8 +80,9 @@ The command takes the following fields:
8180 :ref:`interrupted index builds <index-operations-build-failure>`
8281 when the commit quorum is set to ``"votingMembers"``.
8382
84- Replica set nodes in a commit quorum must have :rsconf:`members[n].buildIndexes`
85- set to ``true``. If any voting nodes have ``members[n].buildIndexes``
83+ To update the commitQuorum, member replica set nodes must have
84+ :rsconf:`members[n].buildIndexes` set to ``true``. If any voting
85+ nodes have ``members[n].buildIndexes``
8686 set to ``false``, you can't use the default ``"votingMembers"`` commit
8787 quorum. Either configure all nodes with ``members[n].buildIndexes``
8888 set to ``true``, or select a different commit quorum.
@@ -116,6 +116,8 @@ Behavior
116116
117117.. include:: /includes/extracts/4.4-changes-index-builds-simultaneous-fcv.rst
118118
119+ .. include:: /includes/indexes/commit-quorum.rst
120+
119121Issuing :dbcommand:`setIndexCommitQuorum` has no effect on index builds
120122started with :ref:`commitQuorum <createIndexes-cmd-commitQuorum>` of
121123``0``.
@@ -125,6 +127,14 @@ started with :ref:`commitQuorum <createIndexes-cmd-commitQuorum>` of
125127 Replica set nodes with :ref:`buildIndexes <replica-set-configuration-buildIndexes>`
126128 set to ``false`` can't be included in a commit quorum.
127129
130+ .. _commit-quorum-contrasted-with-write-concern:
131+
132+ Commit Quorum Contrasted with Write Concern
133+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134+
135+ .. include:: /includes/indexes/commit-quorum-vs-write-concern.rst
136+
137+
128138Examples
129139--------
130140
0 commit comments