Exception in QuerySettingsManager lock acquisition triggers server crash

XMLWordPrintableJSON

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

       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
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: