Skip to content

Commit 0bb0f6d

Browse files
committed
DOCS-13741 add warning to ttlMonitorEnabled param
1 parent cb1b0af commit 0bb0f6d

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
@@ -1059,6 +1059,8 @@ General Parameters
10591059

10601060
|mongod-only|
10611061

1062+
*Default*: ``true``
1063+
10621064
To support :doc:`TTL Indexes </core/index-ttl>`, :binary:`~bin.mongod`
10631065
instances have a background thread that is responsible for deleting
10641066
documents from collections with TTL indexes.
@@ -1078,6 +1080,14 @@ General Parameters
10781080

10791081
mongod --setParameter ttlMonitorEnabled=false
10801082

1083+
.. important::
1084+
1085+
Do not run production :binary:`~bin.mongod` instances with
1086+
``ttlMonitorEnabled`` disabled, except under guidance from MongoDB
1087+
support. Preventing TTL document removal can negatively impact
1088+
MongoDB internal system operations that depend on
1089+
:doc:`TTL Indexes </core/index-ttl>`.
1090+
10811091
.. parameter:: tcpFastOpenServer
10821092

10831093
.. versionadded:: 4.4

0 commit comments

Comments
 (0)