File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -1599,6 +1599,27 @@ General Parameters
1599
1599
1600
1600
mongod --setParameter "tcmallocReleaseRate=5.0"
1601
1601
1602
+ .. parameter:: fassertOnLockTimeoutForStepUpDown
1603
+
1604
+ .. versionadded:: 5.3
1605
+
1606
+ Default: 15 seconds
1607
+
1608
+ |both|
1609
+
1610
+ Allows a server that receives a request to step up or step down, to
1611
+ terminate if it is unable to comply (for example due
1612
+ to faulty server disks) within the timeout. This enables a cluster to
1613
+ successfully elect a new primary node and thus continue to be available.
1614
+
1615
+ ``fassertOnLockTimeoutForStepUpDown`` defaults to 15 seconds. To disable
1616
+ nodes from fasserting, set ``fassertOnLockTimeoutForStepUpDown=0``.
1617
+
1618
+ The following example disables nodes from fasserting:
1619
+
1620
+ .. code-block:: bash
1621
+
1622
+ mongod --setParameter fassertOnLockTimeoutForStepUpDown=0
1602
1623
1603
1624
Logging Parameters
1604
1625
~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -91,6 +91,13 @@ can use ``getParameter`` to report :ref:`details on all parameters
91
91
<getParameter-showdetails-all-params>` by passing
92
92
``{ showDetails: true, allParameters: true }``.
93
93
94
+ Specify a Timeout for Step Up and Step Down Operations
95
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96
+
97
+ Starting in MongoDB 5.3, the :parameter:`fassertOnLockTimeoutForStepUpDown`
98
+ parameter allows a server that receives a request to step up or down to
99
+ terminate if it is unable to comply within the timeout.
100
+
94
101
Security
95
102
--------
96
103
You can’t perform that action at this time.
0 commit comments