[SERVER-49125] Make timesNotified in storage_engine_test.cpp atomic Created: 25/Jun/20  Updated: 29/Oct/23  Resolved: 26/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: Samyukta Lanka Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: thread-sanitizer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-49854 Complete TODO listed in SERVER-49125 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Execution Team 2020-06-29, Execution Team 2020-07-13
Participants:
Linked BF Score: 0

 Description   

Multiple threads can access timesNotified from storage_engine_test.cpp at the same time.

The main thread running the test could try reading it here while the TimestampMonitor updates it via another thread here.



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

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-49125 Make timesNotified in storage_engine_test.cpp atomic
Branch: master
https://github.com/mongodb/mongo/commit/0329fb2aa07107f9458e7124690bcbbd587ac4b4

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