[SERVER-51012] Integrate CancelationTokens with PrimaryOnlyService Created: 17/Sep/20 Updated: 29/Oct/23 Resolved: 25/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matthew Saltz (Inactive) | Assignee: | Jason Zhang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||||||||||||||||||||||
| Sprint: | Sharding 2020-11-16, Sharding 2020-11-30 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||||||
| Description |
|
Use CancelationTokens for PrimaryOnlyService to help with the cancelation of running instances. There are three aspects of this:
This ticket tracks the first bullet point. |
| Comments |
| Comment by Githook User [ 25/Nov/20 ] |
|
Author: {'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}Message: |
| Comment by Spencer Brody (Inactive) [ 21/Sep/20 ] |
|
Ideally this will allow us to remove the interrupt() virtual method from the PrimaryOnlyService::Instance interface. |