Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10033

Add a global flag to turn off the TTLMonitor thread

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

      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:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            steve.briskin Steve Briskin (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: