[SERVER-83579] Data race for setup the opCtx in flush journal Created: 27/Nov/23  Updated: 27/Nov/23  Resolved: 27/Nov/23

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

Type: Bug Priority: Major - P3
Reporter: Chenhao Qu Assignee: Chenhao Qu
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-81796 Reuse a single OperationContext in Jo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 162

 Description   

The setup code for the opCtx in the flush journal should also be protected by the _opCtxMutex.



 Comments   
Comment by Githook User [ 27/Nov/23 ]

Author:

{'name': 'Chenhao Qu', 'email': 'chenhao.qu@mongodb.com', 'username': 'quchenhao'}

Message: SERVER-83579 _opCtx setup should be protected by _opCtxMutex
Branch: master
https://github.com/mongodb/mongo/commit/28c0fc177dd5cb6102791d727c8d2ce1953af501

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