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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-02-22, Security 2021-03-08
    • 50

    Description

      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.

      Attachments

        Activity

          People

            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: