Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78437

OperationContext::markKilled(ErrorCodes::Error) should take a Status that contains an error message

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 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.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: