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

Add a global flag to turn off the TTLMonitor thread

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.6, 2.5.1
    • Component/s: Usability
    • Labels:

      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

              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: