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

Improve error message from failure to obtain lock for storage stats collection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.11, 4.2.0-rc1, 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Minor Change
    • v4.2, v4.0
    • Storage Engines 2019-06-17
    • 1

      SERVER-41327 reported a query failure with CursorKilled error along with the following error in acquiring the lock for storage stats collection:

      "Timed out obtaining lock while trying to gather storage statistics for a slow operation."

      Though the above message is just a warning, it sounds like this is the cause of the query being killed. Improve the error to remove this confusion and to notify that at worst this would result in the absence of storage statistics from slow operation logs.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: