Convert QO and QE commands to TypedCommand

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            David Percy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: