[SERVER-54680] logv2: use mongo::quickExit instead of std::quick_exit Created: 20/Feb/21  Updated: 29/Oct/23  Resolved: 23/Feb/21

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 5.0.0

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Sergey Galtsev (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-53852 MongoDB hangs randomly Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2021-02-22, Security 2021-03-08
Participants:
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.



 Comments   
Comment by Githook User [ 23/Feb/21 ]

Author:

{'name': 'Sergey Galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-54680 use mongo::quickExitWithoutLogging instead of std::quick_exit
Branch: master
https://github.com/mongodb/mongo/commit/77d144dad2f49d78903c98985f61bf9245145e49

Generated at Thu Feb 08 05:34:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.