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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.11, 4.2.0-rc1, 4.3.1
    • Storage
    • None
    • Minor Change
    • v4.2, v4.0
    • Storage Engines 2019-06-17
    • 1

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: