[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: |
|
||||||||||||
| 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: |