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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Sergey Galtsev (Inactive)
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: