[SERVER-50939] Ensure that PrimaryOnlyService Instances unblock any dependent work during stepdown or shutdown Created: 15/Sep/20  Updated: 29/Oct/23  Resolved: 17/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-50986 Implement PrimaryOnlyService::interru... Closed
is depended on by SERVER-51017 Add unittest for PrimaryOnlyService::... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-09-21
Participants:
Linked BF Score: 95

 Description   

Add a virtual method to PrimaryOnlyService::Instance that gets called during stepdown and shutdown. PrimaryOnlyService implementations can use this method to resolve any intermediary Promises owned by the Instance itself.



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

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-50939 Ensure that PrimaryOnlyService Instances unblock any dependent work during stepdown or shutdown
Branch: master
https://github.com/mongodb/mongo/commit/b9841ae3e9c2772e1c5d2705448f6e5528599596

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