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

Add new RemoteCommandRunner ErrorExtraInfo and use it to store detailed error information

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-08-22, Service Arch 2022-09-05, Service Arch 2022-09-19

    Description

      Add a new ErrorExtraInfo that the RemoteCommandRunner can use to store detailed error information in the case of RPC failure. Convert the RCR's error handling path to make use of this new EEI.

      After this ticket, the runner should return a future that will be set with a singleĀ  ErrorCodes::RemoteCommandRunnerExecutionError error in the case of error. Any additional information about the underlying error (i.e. whether it was local or remote, write concern, etc) will be stored in the ErrorExtraInfo object.

      Attachments

        Activity

          People

            george.wangensteen@mongodb.com George Wangensteen
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: