-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Networking
-
None
-
Major Change
-
Repl 14 (05/13/16), Platforms 16 (06/24/16), Platforms 17 (07/15/16), Platforms 18 (08/05/16)
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.
- is related to
-
SERVER-23134 Add FetcherWithRetries
- Closed
- related to
-
SERVER-24113 OplogFetcher getMore callback QueryResponseStatus should include metadata on error
- Closed