[SERVER-78722] CancelableOperationContext::cancel() should pass a Status through to operations checking for interrupt, rather than a generic ErrorCodes::Interrupted & "operation was interrupted" Created: 06/Jul/23 Updated: 16/Aug/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||||||
| Sprint: | Execution NAMR Team 2023-08-21 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Have CancelableOperationContext pass a 'cancel status' through to the OperationContext::markKilled() call, to replace the generic Status(ErrorCodes::Interrupted "operation was interrupted") that's used today. So .cancel() calls would be turned into cancel(status). I would like to get rid of / reduce the implicit generic error codes surfaced from interrupts ( |