[SERVER-70273] Fix race condition in CappedInsertNotifier::getVersion Created: 06/Oct/22  Updated: 29/Oct/23  Resolved: 07/Oct/22

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

Type: Bug Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-10-17
Participants:
Linked BF Score: 35

 Description   

It is accessing a variable without taking the mutex associated with it.



 Comments   
Comment by Githook User [ 07/Oct/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-70273 Fix race condition in CappedInsertNotifier::getVersion
Branch: master
https://github.com/mongodb/mongo/commit/1cacbaae3bf204014ffa3d427931f52fd9d83c50

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