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

Make router create and createIndexes commands TypedCommand

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      The router commands create and createIndex became BasicCommandWithRequestParser to be able to attach the WriteConcernError field to their replies.

      Keeping them as a TypedCommand was not an option because both idl replies were marked as strict (here and here); hence, it was not possible to add the WriteConcernError field to the idlzed reply.

      However, we removed the strictness of both replies under SERVER-100938, so it'll be possible to add the WriteConcernError as a field of CreateCommandReply and CreateIndexesReply once v9.0 branches out. With that, we'll also be able to make both commands TypedCommand again.

            Assignee:
            Unassigned Unassigned
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: