-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Platforms 2018-03-12
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Command::explain must take OpMsgRequest, not dbname,cmdObj pair.
Explain synthesizes a new OpMsgRequest, then passes that to parse(),
which then calls Command::explain which has to re-synthesize an OpMsgRequest.
This is wasteful and produces a $db field duplication, as each synthesis injects a $db field into the request body.
- related to
-
SERVER-33065 create CommandReplyBuilder and CommandInvocation
-
- Closed
-