Update all BasicCommands to TypedCommands

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Server Programmability
    • Networking & Obs 2024-06-24, Networking & Obs 2024-07-08, Networking & Obs 2024-07-22, Networking & Obs 2024-08-05, Networking & Obs 2024-08-19, Workload Scheduling 2025-05-12, Workload Scheduling 2025-05-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      TypedCommand allows one to easily define a C++ command implementation that uses an IDL-defined command structure for both requests and responses. BasicCommand implementations on the other hand handle BSONObj representations of the command request and response, which is error prone, can be difficult to maintain, and is in some cases less performant. We should update these largely legacy BasicCommand command implementations to use the newer, more correct TypedCommand.

            Assignee:
            Patrick Freed
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: