[SERVER-29377] Make the logging subsystem immortal Created: 25/May/17  Updated: 28/Feb/20  Resolved: 28/Feb/20

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Henrik Edin
Resolution: Done Votes: 0
Labels: former-quick-wins, gm-ack, service_architecture
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-29152 Segfault in multiple shard primaries ... Closed
Participants:

 Description   

The logging subsystem caches streams inside of thread locals, which may be cleaned up before other thread locals on destruction. This means it is not safe to log() anything inside of any class that is stored in a thread local or thread specific pointer. Logging should be immortal, it should be safe to log everywhere.



 Comments   
Comment by Henrik Edin [ 28/Feb/20 ]

I believe this has been fixed by SERVER-46008

Generated at Thu Feb 08 04:20:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.