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

Use new TTL sleep config immediately after set

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-03-20

      The TTL performs a sleep of the amount of seconds configured before waking up and performing a pass. This causes new config changes to only be picked up after the previous amount of seconds have passed.

      This opens up the possibility of a TTL being erroneously set to a very large number of seconds and be unable to fix it unless you wait or restart the server with the new settings. In other words: if I start the server and change the TTL monitor sleep seconds from 60 to 1 the server will still wait the full 60 seconds after setting the value before using 1.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: