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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0 Required
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Service Arch 2021-02-22, Security 2021-03-08
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              Assignee:
              sergey.galtsev Sergey Galtsev
              Reporter:
              billy.donahue Billy Donahue
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: