[SERVER-48970] Prevent concurrent uses of the same mongo_embedded_v1_status in mongo_embedded_test KillOp Created: 18/Jun/20  Updated: 29/Oct/23  Resolved: 23/Jun/20

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

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: thread-sanitizer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-29
Participants:
Linked BF Score: 0

 Description   

The KillOp test uses two concurrent threads but just a single mongo_embedded_v1_status. This eventually leads to an unsynchronized access in StatusForAPI::clean().



 Comments   
Comment by Githook User [ 23/Jun/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-48970 Prevent concurrent uses of the same mongo_embedded_v1_status in mongo_embedded_test KillOp
Branch: master
https://github.com/mongodb/mongo/commit/2f8f944c0b660a647d5648f2a820e33221baf8be

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