Add a global flag to turn off the TTLMonitor thread

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 2.4.6, 2.5.1
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:false})
      

              Assignee:
              Daniel Pasette (Inactive)
              Reporter:
              Steve Briskin (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: