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

TTL monitor sleep seconds can be <= 0

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 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.

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

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: