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

Don't be too chatty about periodic tasks taking a few ms

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.5, 3.1.5
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Fully Compatible
    • Quint Iteration 5

      Right now any background task that takes 3 ms or longer will result in a log message. The lock manager cleanup may take a few ms to clean all 128 or so buckets (though it will release/reacquire mutexes between buckets), causing one log message per minute on a normally operating system.

      So, we should only log operations taking more than 100ms or so.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: