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

Create a new IDL syntax for internal parameters

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      Currently, for some internal parameters that mongos attaches before sending it to the shards, we cannot mark them as unstable in the IDL because the shards will run parsing validation, and see that the command is using an unstable parameter, and show an APIStrictError.

      However, since marking them as stable makes them a part of the stable API, we will then not be allowed to remove them (i.e. tickets like SERVER-61685 would be blocked).

      We should look into creating a new IDL syntax to be able to mark parameters as unstable, but for internal use, and modify the parsing validation so that using these parameters internally with apiStrict: true won't cause an APIStrictError

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: