[SERVER-54936] Have donorAbortMigration await for a promise in run() to be fulfilled Created: 03/Mar/21  Updated: 29/Oct/23  Resolved: 15/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Jason Zhang Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-03-22
Participants:
Linked BF Score: 111

 Description   

Inside the run() of tenant_migration_donor_service.cpp, add a promise so that donorAbortMigration can wait for run() to be called, which in turn ensures that the CancelationSource has been created.



 Comments   
Comment by Githook User [ 12/Mar/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-54936 Have donorAbortMigration await for a promise in run() to be fulfilled
Branch: master
https://github.com/mongodb/mongo/commit/f6787932d2711fe0c1c8380516328eb8ebef36d8

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