-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
Execution NAMR Team 2023-08-21
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 (SERVER-78437) because it makes debugging more difficult: rather I want callers to be required to consider more informative messages.
- depends on
-
SERVER-78437 OperationContext::markKilled(ErrorCodes::Error) should take a Status that contains an error message
- Closed
- related to
-
SERVER-56251 Alleviate problems that arise when OperationContext::markKilled is called with a non-Interruption error
- Backlog