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

Exception in QuerySettingsManager lock acquisition triggers server crash

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2023-07-24
    • 130

    Description

       This lock acquisition may throw. Furthermore, this function is called from the ClusterServerParameterRefresher thread, which does not seem to catch DBExceptions. When the lock acquisition does throw, (e.g. an unfortunately timed shutdown), std::terminate() is called crashing the entire server. The only manifestation of this issue in our testing has been shutdown, but it may be possible to trip this in other ways.

      Attachments

        Activity

          People

            denis.grebennicov@mongodb.com Denis Grebennicov
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: