[SERVER-69421] Progress meter race condition Created: 02/Sep/22  Updated: 29/Oct/23  Resolved: 01/Dec/22

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

Type: Bug Priority: Major - P3
Reporter: Alex Neben Assignee: Alex Li
Resolution: Fixed Votes: 0
Labels: tsan
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-70579 Unsynchronized access to ProgressMete... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2022-10-03, Service Arch 2022-10-17, Service Arch 2022-10-31, Service Arch 2022-11-28, Service Arch 2022-12-12
Participants:
Linked BF Score: 5

 Description   

TSAN flags some data as being shared between threads. Made a temp PR to try and address, seems like the true fix is more complex.

See fix https://github.com/10gen/mongo/pull/6846/files#r961977066
and https://github.com/10gen/mongo/pull/6846/files#r961977130

cc billy.donahue@mongodb.com 



 Comments   
Comment by Alex Neben [ 01/Dec/22 ]

alex.li@mongodb.com Awesome work on the merge!!!! Can't wait to migrate some of these fixes from TSAN complete -> TSAN!

Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'lia394126'}

Message: SERVER-69421 Fix ProgressMeter race conditions
Branch: master
https://github.com/mongodb/mongo/commit/e4a1e409c65b4cf9eec9d70c295ed753f3063d14

Comment by Jason Chan [ 06/Sep/22 ]

alexander.neben@mongodb.com would you mind linking the BFs that are flagging the races?

Comment by Billy Donahue [ 05/Sep/22 ]

can you provide logs to a run showing the problem?
what test was this observed in?

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