[SERVER-40481] Fix data race in UUIDCatalog::iterator::iterator() Created: 04/Apr/19  Updated: 29/Oct/23  Resolved: 06/Apr/19

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

Type: Bug Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2019-04-08
Participants:
Linked BF Score: 22

 Description   

UUIDCatalog::iterator::iterator() calls lower_bound on _orderedCollections without locking the _catalogLock mutex.



 Comments   
Comment by Githook User [ 06/Apr/19 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-40481 Fix data race in UUIDCatalog::iterator::iterator()
Branch: master
https://github.com/mongodb/mongo/commit/e56e95ffb6ea8edf9c3f500ec8b6a12d92ed9498

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