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

Teach IDL to accept generic reply fields when parsing a reply

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-07-11, Service Arch 2022-07-25, Service Arch 2022-08-08

    Description

      Some fields can appear in the BSON in the response to any command, such as "ok". We even document a subset of them here: https://github.com/mongodb/mongo/blob/87d6ec40779e3750a123efd941e16d159bf938bb/src/mongo/idl/generic_argument.idl#L108. However, the parser from BSON to c++-representation of the reply object generated by IDL throws an error when it encounters these fields. We should teach the parser to allow for generic reply fields to be present when parsing.

      Attachments

        Activity

          People

            george.wangensteen@mongodb.com George Wangensteen
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: