Skip to content

Commit 38bf71f

Browse files
jocelyn-mendez1Jocelyn Mendez
andauthored
DOCS-15060 fassertOnLockTimeoutForStepUpDown parameter (#627)
* DOCS-15060 fassertOnLock parameter * DOCS-15060 fassertOnLock parameter * DOCS-15060 fassertOnLock parameter addition * DOCS-15060 updated example * DOCS-15060 disable fasserting * DOCS-15060 rewording termination * DOCS-15060 rewording termination * DOCS-15060 rewording termination * DOCS-15060 release notes * DOCS-15060 release notes * DOCS-15060 commit error Co-authored-by: Jocelyn Mendez <[email protected]>
1 parent 8460f2c commit 38bf71f

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

source/reference/parameters.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,6 +1599,27 @@ General Parameters
15991599

16001600
mongod --setParameter "tcmallocReleaseRate=5.0"
16011601

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
16021623

16031624
Logging Parameters
16041625
~~~~~~~~~~~~~~~~~~

source/release-notes/5.3.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ can use ``getParameter`` to report :ref:`details on all parameters
9191
<getParameter-showdetails-all-params>` by passing
9292
``{ showDetails: true, allParameters: true }``.
9393

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+
94101
Security
95102
--------
96103

0 commit comments

Comments
 (0)