Details
-
Improvement
-
Resolution: Unresolved
-
Minor - P4
-
None
-
None
-
None
-
Query Execution
Description
Currently, cluster FindAndModifyCmd::run() is implemented in terms of a BSONObj command object. This ticket tracks the work to rewrite the 'run' path in terms of a 'FindAndModifyCommandRequest'.
Doing this has several advantages:
- It may be a perf win (operating over a C++ object will be faster than a BSONObj)
- It will make modifying the command object more simple (see
SERVER-82042for an example of this where we have to serialize the command's let arguments.