-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
The Server team would like to convert all commands to TypedCommand, which ensures we parse the request using the IDL, instead of ad-hoc BSON manipulation.
This is not urgent but is tech debt worth addressing.
The list of QO commands we were given is:
- Agg (mongos, mongod)
- clusterBulkWrite
- clusterFindAndModify
- clusterWrite
- Count (mongos, mongod)
- Distinct (mongos, mongod)
- Explain (mongos, mongod)
- Find (mongos, mongod)
- getMore (mongos, mongod)
- planCacheClear (mongos, mongod)
- stageDebug
However some of these are actually QE.
It will probably make sense to split this up and handle one command at a time.