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

Create a public-facing command to stop the TTL monitor

    • Catalog and Routing
    • CAR Team 2025-05-26
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      The TTL monitor is a background task responsible for automatically removing documents from a collection after a user-defined expiration period.

      The TTL monitor can currently be stopped by setting the internal server parameter ttlMonitorEnabled to false (this is a startup and runtime parameter).

      The objective is to develop and implement a dedicated, user-executable command that allows to stop the TTL monitor. This will provide a more direct and standardized interface for controlling this background task, rather than relying on direct manipulation of server parameters.

      Note: this is a first step for "Background Tasks Don’t Impact Goodput" stream of work.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: