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

Add a global flag to turn off the TTLMonitor thread

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.4.6, 2.5.1
    • Usability

    Description

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

      Attachments

        Issue Links

          Activity

            People

              dan@mongodb.com Daniel Pasette
              steve.briskin Steve Briskin
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: