@@ -82,43 +82,39 @@ Definition
82
82
- Optional. A document expressing the :doc:`write concern
83
83
</reference/write-concern>`. Omit to use the default write concern.
84
84
85
- * - :ref:` commitQuorum <createIndexes-cmd-commitQuorum> `
85
+ * - `` commitQuorum` `
86
86
87
87
- integer or string
88
88
89
89
- .. _createIndexes-cmd-commitQuorum:
90
90
91
- Optional. The minimum number of data-bearing voting replica
91
+ Optional. The minimum number of data-bearing replica
92
92
set members (i.e. commit quorum), including the primary, that
93
93
must report a successful :ref:`index build
94
94
<index-operations-replicated-build>` before the primary
95
- marks the ``indexes`` as ready. A "voting" member is any
96
- replica set member where :rsconf:`members[n].votes` is greater
97
- than ``0``.
95
+ marks the ``indexes`` as ready.
98
96
99
- Starting in MongoDB v5.0 you can resume some
97
+ Starting in MongoDB v5.0, you can resume some
100
98
:ref:`interupted index builds<index-operations-build-failure>`
101
99
when the
102
100
:dbcommand:`commit quorum is set<setIndexCommitQuorum>` to
103
101
``"votingMembers"``.
104
102
105
- The ``"votingMembers"`` commit quorum cannot be used if any
106
- voting replica set node is configured with
107
- :rsconf:`members[n].buildIndexes` set to ``false``. Either
108
- configure all nodes with :rsconf:`members[n].buildIndexes` set
109
- to ``true`` or select a commit quorum that requires fewer
110
- votes.
103
+ Replica set nodes in a commit quorum must have :rsconf:`members[n].buildIndexes`
104
+ set to ``true``. If any voting nodes have ``members[n].buildIndexes``
105
+ set to ``false``, you can't use the default ``"votingMembers"`` commit
106
+ quorum. Either configure all nodes with ``members[n].buildIndexes``
107
+ set to ``true``, or select a different commit quorum.
111
108
112
109
Supports the following values:
113
110
114
111
- ``"votingMembers"`` - all data-bearing voting replica set
115
- members (*Default*).
112
+ members (*Default*). A "voting" member is any replica set member
113
+ where :rsconf:`members[n].votes` is greater than ``0``.
116
114
117
- - ``"majority"`` - a simple majority of data-bearing voting
118
- replica set members.
115
+ - ``"majority"`` - a simple majority of data-bearing replica set members.
119
116
120
- - ``<int>`` - a specific number of data-bearing voting
121
- replica set members.
117
+ - ``<int>`` - a specific number of data-bearing replica set members.
122
118
123
119
- ``0`` - Disables quorum-voting behavior. Members
124
120
start the index build simultaneously but do *not*
@@ -989,11 +985,11 @@ to the :dbcommand:`createIndexes` operation to set the minimum
989
985
number of data-bearing voting members (i.e commit quorum), including the
990
986
primary, which must complete the index build before the
991
987
primary marks the indexes as ready. The default commit quorum is
992
- ``votingMembers``, or all data-bearing voting replica set members.
988
+ ``votingMembers``, or all data-bearing replica set members.
993
989
994
990
The following operation creates an index with a :ref:`commit quorum
995
991
<createIndexes-cmd-commitQuorum>` of ``"majority"``, or a
996
- simple majority of data-bearing voting members:
992
+ simple majority of data-bearing members:
997
993
998
994
.. code-block:: javascript
999
995
0 commit comments