[SERVER-50986] Implement PrimaryOnlyService::interrupt on resharding primary only services Created: 16/Sep/20  Updated: 29/Oct/23  Resolved: 24/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: PM-234-M1, PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-50939 Ensure that PrimaryOnlyService Instan... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-10-05
Participants:
Linked BF Score: 95

 Description   

SERVER-50939 is adding an functionality to ensure that PrimaryOnlyService instances clean up correctly in order to unblock stepdown. ReshardingCoordinatorService, ReshardingDonorService, and ReshardingRecipientService should implement this method, setting errors on any promises internal to the instance that have not be fulfilled at the time of interrupt being called.

We likely also want the destructors to invariant that all promises have been fulfilled.



 Comments   
Comment by Githook User [ 24/Sep/20 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-50986 Implement PrimaryOnlyService::interrupt on resharding primary only services
Branch: master
https://github.com/mongodb/mongo/commit/718b31f226b8af509a1f78c288aaec0157d6e9af

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