[SERVER-71125] RangeDeleter unittest may fail due to non atomic SharedFuture readiness update Created: 07/Nov/22  Updated: 29/Oct/23  Resolved: 30/Nov/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: Silvia Surroca Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-12-12
Participants:
Linked BF Score: 5

 Description   

The unittest RegisterPendingTaskAndMarkItNonPending fails occasionally due to non atomic SharedFuture readiness update.

In that particular case, there are 2 SharedSemiFuture pointing to the same SharedPromise (here and here) and we are expecting the first of them to be ready right after waiting for the second shared future.

 



 Comments   
Comment by Githook User [ 30/Nov/22 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-71125 RangeDeleter unittest may fail due to non atomic SharedFuture readiness update
Branch: master
https://github.com/mongodb/mongo/commit/0e78c3407297afb013ba7a4a936576f701bb931f

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