Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-91373

Update all BasicCommands to TypedCommands

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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

      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@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: