[SERVER-74898] Ensure server parameters RAII types are not destructed before health log executes Created: 15/Mar/23  Updated: 27/Oct/23  Resolved: 20/Mar/23

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

Type: Bug Priority: Major - P3
Reporter: Xuerui Fa Assignee: Xuerui Fa
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Operating System: ALL
Participants:
Linked BF Score: 160

 Description   

We're seeing sanitizer failures when we attempt to access a server parameter in oplog applier unit tests. This is because tests that use an RAII type to set a server parameter may destruct that server parameter before another thread attempts to use it. We should create a way to ensure that these server parameters are not destructed before they're used in these C++ tests.


Generated at Thu Feb 08 06:28:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.