-
Type: Improvement
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
-
Execution NAMR Team 2023-07-10, Execution NAMR Team 2023-07-24, Execution NAMR Team 2023-08-07
-
10
Currently OperationContext::markKilled(ErrorCodes::Error) just sets a default "operation was interrupted". It would be much more informative to have markKilled() callers explain why an operation is terminated, so a better error message/explanation can be forwarded to the user.
- is depended on by
-
SERVER-78722 CancelableOperationContext::cancel() should pass a Status through to operations checking for interrupt, rather than a generic ErrorCodes::Interrupted & "operation was interrupted"
- Open