Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Security 2021-09-20
Description
Came up in cxx-discuss slack conversation. Here's the log:
If your code is running during static-duration shutdown (i.e. after main), it looks like there is a potential use-after-delete bug in introduced in SERVER-59463. https://github.com/mongodb/mongo/blame/fa7f62a123/src/mongo/logv2/log_detail.cpp#L50 That local static would be dead at some point after main exits, but while user code could still depend on it for logging.
(A StaticImmortal would fix it)
Attachments
Issue Links
- is caused by
-
SERVER-59463 Add Tenant ID to log lines
-
- Closed
-