Skip to content

Commit eac6fac

Browse files
committed
DOCS-13741 add warning to ttlMonitorEnabled param
1 parent f66a118 commit eac6fac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/reference/parameters.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,8 @@ General Parameters
10461046

10471047
|mongod-only|
10481048

1049+
*Default*: ``true``
1050+
10491051
To support :doc:`TTL Indexes </core/index-ttl>`, :binary:`~bin.mongod`
10501052
instances have a background thread that is responsible for deleting
10511053
documents from collections with TTL indexes.
@@ -1065,6 +1067,14 @@ General Parameters
10651067

10661068
mongod --setParameter ttlMonitorEnabled=false
10671069

1070+
.. important::
1071+
1072+
Do not run production :binary:`~bin.mongod` instances with
1073+
``ttlMonitorEnabled`` disabled, except under guidance from MongoDB
1074+
support. Preventing TTL document removal can negatively impact
1075+
MongoDB internal system operations that depend on
1076+
:doc:`TTL Indexes </core/index-ttl>`.
1077+
10681078
.. parameter:: tcpFastOpenServer
10691079

10701080
.. versionadded:: 4.4

0 commit comments

Comments
 (0)