[SERVER-49011] Prevent concurrent calls to ProgressMeter::hit() in d_concurrency_test Created: 22/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
Operating System: ALL
Sprint: Execution Team 2020-06-29
Participants:
Linked BF Score: 0

 Description   

ProgressMeter::hit() is not thread safe, but is used without any concurrency control in the Stress and StressPartitioned tests in d_concurrency_test.cpp.



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

Author:

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

Message: SERVER-49011 Prevent concurrent calls to ProgressMeter::hit() in d_concurrency_test
Branch: master
https://github.com/mongodb/mongo/commit/07c6275e1ee8c27b14aa6d9edaa170625ad52c8f

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