Unnecessary error log message in the FTDC ServerStatus collector

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • ALL
    • 0
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      We added printing an error log message in the ServerStatus collector if a ServerStatus section throws an exception.
      #36794

      This caused a failure of a performance test because a new error log message was detected.
      https://jira.mongodb.org/browse/BF-38104

      After investigating sources of the FTDC server (db/ftdc/ftdc_server.cpp) it was found that FTDC server actually expects to get a failure of a ServerStatus section, which changes its behavior.
      mongo/src/mongo/db/ftdc/ftdc_server.cpp

      Line 329 in 68377e7

      if (status.isA<ErrorCategory::ShutdownError>()) {

       

      It means the failure is a normal behavior. In this case printing an error log message is not an expected behavior and should be avoided.

            Assignee:
            Michael Popov
            Reporter:
            Michael Popov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: