[SERVER-56899] PrimaryOnlyServiceTest TestService should wait for cancellation logic to run Created: 12/May/21 Updated: 29/Oct/23 Resolved: 13/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Saltz (Inactive) | Assignee: | Matthew Saltz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Service Arch 2021-05-17 | ||||
| Participants: | |||||
| Linked BF Score: | 127 | ||||
| Description |
|
If the PrimaryOnlyService's executor is shutdown before the callback to set the completionPromise is run, it can cause the OpCtxInterruptedByShutdownTest to hang while waiting for the completion promise to be set. |
| Comments |
| Comment by Githook User [ 13/May/21 ] |
|
Author: {'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}Message: |