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

TaskExecutor RemoteCommandCallbackArgs should include elapsedMS and metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.11
    • Networking
    • None
    • Major Change
    • Repl 14 (05/13/16), Platforms 16 (06/24/16), Platforms 17 (07/15/16), Platforms 18 (08/05/16)

    Description

      Currently TaskExecutor::RemoteCommandCallbackArgs::RemoteCommandCallbackArgs contains a response that is a StatusWith<RemoteCommandResponse> where you can only get the elapsed time on success, not the error cases.

      We should always return the time, even on failures.
      We should also return the metadata where we have it available (as in the case of command failures)

      This is needed for retries and other operations done by the callers of scheduleRemoteCommand.

      Attachments

        Issue Links

          Activity

            People

              waley.chen Waley Chen
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: