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

Exception in QuerySettingsManager lock acquisition triggers server crash

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2023-07-24
    • 130

       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.

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

              Created:
              Updated:
              Resolved: