[SERVER-51293] [cleanup] Make TenantMigrationDonorService use Future-returning version of scheduleRemoteCommand Created: 01/Oct/20  Updated: 29/Oct/23  Resolved: 03/Nov/20

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

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: pm-1791_polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-50658 Add support for CancelationTokens to ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-10-19, Sharding 2020-11-02, Sharding 2020-11-16
Participants:

 Description   

Right now TenantMigrationDonorService uses a hack to convert the callback-returning scheduleRemoteCommand into having a Future interface.



 Comments   
Comment by Githook User [ 03/Nov/20 ]

Author:

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

Message: SERVER-51293 Make TenantMigrationDonorService use Future-returning version of scheduleRemoteCommand
Branch: master
https://github.com/mongodb/mongo/commit/3211aae4cbd80249f6961c59c6e856ea1c49b8a5

Comment by Esha Maharishi (Inactive) [ 01/Oct/20 ]

Depends on SERVER-50658, which is in code review, and is adding a Future-returning override of scheduleRemoteCommand (as well as integrating CancelationToken in scheduleRemoteCommand).

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