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