[SERVER-53239] fix race in shared future unit test Created: 04/Dec/20  Updated: 29/Oct/23  Resolved: 04/Dec/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.12, 4.4.13

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

Issue Links:
Backports
Problem/Incident
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Service arch 2020-12-14
Participants:
Linked BF Score: 45

 Description   

A race causes an failure under ASAN.
worker thread was still running after the SharedSemiFuture dies.

Fixes BF-19550



 Comments   
Comment by Githook User [ 18/Jan/22 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-53239 fix race in shared future unit test

(cherry picked from commit aaed95a8c9141609bd39c795e196e7e8573bb905)
Branch: v4.4
https://github.com/mongodb/mongo/commit/826d0f22fb0d65b4c25ee4b50e362299670d2c80

Comment by Githook User [ 04/Dec/20 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-53239 fix race in shared future unit test
Branch: master
https://github.com/mongodb/mongo/commit/aaed95a8c9141609bd39c795e196e7e8573bb905

Comment by Billy Donahue [ 04/Dec/20 ]

CR https://mongodbcr.appspot.com/727030008/

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