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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.0.5, 3.1.5
    • Logging
    • None
    • Fully Compatible
    • Quint Iteration 5

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: