TTL monitor sleep seconds can be <= 0

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: TTL
    • None
    • Storage Execution
    • ALL
    • Hide

      Start mongod with the following parameters:

      ./mongod --setParameter ttlMonitorSleepSecs=0 --setParameter logLevel=3
      

      It will continuously log messages from TTLMonitor, e.g.:

      2016-07-15T13:59:35.390-0400 D INDEX    [TTLMonitor] TTLMonitor thread awake
      

      The same behavior occurs if ttlMonitorSleepSecs is set to a negative integer.

      Show
      Start mongod with the following parameters: ./mongod --setParameter ttlMonitorSleepSecs=0 --setParameter logLevel=3 It will continuously log messages from TTLMonitor, e.g.: 2016-07-15T13:59:35.390-0400 D INDEX [TTLMonitor] TTLMonitor thread awake The same behavior occurs if ttlMonitorSleepSecs is set to a negative integer.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The TTL monitor thread can be set to run constantly if ttlMonitorSleepSecs is set to 0 or negative.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: