Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Platforms 2018-03-12
Description
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.
Attachments
Issue Links
- related to
-
SERVER-33065 create CommandReplyBuilder and CommandInvocation
-
- Closed
-