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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • Execution NAMR Team 2023-07-10, Execution NAMR Team 2023-07-24, Execution NAMR Team 2023-08-07
    • 10

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: