[DOCS-2527] Document flag that disables TTLMonitor thread Created: 14/Jan/14  Updated: 04/Mar/15  Resolved: 28/Jan/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.0

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-10033 Add a global flag to turn off the TTL... Closed
Participants:
Days since reply: 10 years, 3 weeks, 1 day ago

 Description   

See SERVER-10033



 Comments   
Comment by Githook User [ 28/Jan/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2527: ttlMonitorEnabled documentation
Branch: v2.4
https://github.com/mongodb/docs/commit/90f753b47756847980275f3364e8989f38fb6c94

Comment by Githook User [ 28/Jan/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2527: ttlMonitorEnabled documentation
Branch: master
https://github.com/mongodb/docs/commit/f7f25e94268e53ddff58646c43a509d17eb3f8b5

Comment by Asya Kamsky [ 14/Jan/14 ]

Via a command-line parameter and/or server command.
May be used to stop TTL deletes if the system is under extreme load or during an outage/corruption investigation. A single global (or per-DB) setting would be easier than having to update or drop all TTL indexes.
By default, the TTLMonitor thread is enabled. To disable at startup:
--setParameter ttlMonitorEnabled=false
To disable at runtime:

db.adminCommand({setParameter:1, ttlMonitorEnabled:true})

Generated at Thu Feb 08 07:43:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.