logv2: use mongo::quickExit instead of std::quick_exit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-02-22, Security 2021-03-08
    • 50
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      A call to std::quick_exit was added to logv2/file_rotate_sink.cpp recently. We should always be using mongo::quickExit instead.
      It cooperates with sanitizers, debuggers, and tassert status, and most importantly MacOS doesn't have std::quick_exit.

            Assignee:
            Sergey Galtsev (Inactive)
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: