@@ -21,52 +21,69 @@ replSetReconfig
2121 .. |method| replace:: :method:`rs.reconfig` helper method
2222 .. include:: /includes/fact-dbcommand-tip
2323
24- The command has the following syntax:
24+ Compatibility
25+ -------------
2526
26- .. code-block:: javascript
27+ This command is available in deployments hosted in the following environments:
2728
28- db.adminCommand({
29- replSetReconfig: <new_config_document>,
30- force: <boolean>,
31- maxTimeMS: <int>
32- })
29+ .. include:: /includes/fact-environments-atlas-only.rst
3330
34- The command takes the following optional field:
31+ .. include:: /includes/fact-environments-atlas-support-no-free-or-m10.rst
3532
36- .. list-table::
37- :header-rows: 1
38- :widths: 20 80
33+ .. include:: /includes/fact-environments-onprem-only.rst
3934
40- * - Field
41- - Description
35+ Syntax
36+ ------
4237
43- * - .. _replSetReconfig-cmd-force:
44-
45- :ref:`force <replSetReconfig-cmd-force>`
38+ The command has the following syntax:
4639
47- - Defaults to ``false``. Specify ``true`` to force the
48- available replica set members to accept the new configuration.
40+ .. code-block:: javascript
41+
42+ db.adminCommand({
43+ replSetReconfig: <new_config_document>,
44+ force: <boolean>,
45+ maxTimeMS: <int>
46+ })
47+
48+ Command Fields
49+ --------------
50+
51+ The command takes the following optional field:
52+
53+ .. list-table::
54+ :header-rows: 1
55+ :widths: 20 80
56+
57+ * - Field
58+ - Description
59+
60+ * - .. _replSetReconfig-cmd-force:
61+
62+ :ref:`force <replSetReconfig-cmd-force>`
63+
64+ - Defaults to ``false``. Specify ``true`` to force the
65+ available replica set members to accept the new configuration.
4966
50- Force reconfiguration can result in unexpected or
51- undesired behavior, including :ref:`rollback
52- <replica-set-rollbacks>` of :writeconcern:`"majority"`
53- committed writes.
67+ Force reconfiguration can result in unexpected or
68+ undesired behavior, including :ref:`rollback
69+ <replica-set-rollbacks>` of :writeconcern:`"majority"`
70+ committed writes.
5471
55- * - .. _replSetReconfig-cmd-maxTimeMS:
72+ * - .. _replSetReconfig-cmd-maxTimeMS:
5673
57- :ref:`maxTimeMS <replSetReconfig-cmd-maxTimeMS>`
74+ :ref:`maxTimeMS <replSetReconfig-cmd-maxTimeMS>`
5875
59- - Optional. Specifies a cumulative time limit in milliseconds
60- for processing the :dbcommand:`replSetReconfig`. By default,
61- :dbcommand:`replSetReconfig` waits indefinitely for the
62- replica configuration to propagate to a majority of replica
63- set members. Setting ``maxTimeMS`` may result
64- in the operation failing *before* it can apply the new
65- configuration. See :ref:`replSetReconfig-cmd-majority-install`
66- for more information.
76+ - Optional. Specifies a cumulative time limit in milliseconds
77+ for processing the :dbcommand:`replSetReconfig`. By default,
78+ :dbcommand:`replSetReconfig` waits indefinitely for the
79+ replica configuration to propagate to a majority of replica
80+ set members. Setting ``maxTimeMS`` may result
81+ in the operation failing *before* it can apply the new
82+ configuration. See :ref:`replSetReconfig-cmd-majority-install`
83+ for more information.
6784
68- You may also run :dbcommand:`replSetReconfig` with the shell's
69- :method:`rs.reconfig()` method.
85+ You may also run :dbcommand:`replSetReconfig` with the shell's
86+ :method:`rs.reconfig()` method.
7087
7188.. slave-ok, admin-only
7289
0 commit comments