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

Stop type checking unstable fields

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: IDL
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2021-03-22, Repl 2021-04-05

      Description

      We make no guarantees for type incompatibility for unstable fields, so we should allow for incompatible changes to unstable fields.

      The one exception is that we should error if an unstable field is added with a new use of bson_serialization_type "any" without being added to the allowList. This is because unstable fields can be used for experimental fields that ultimately become stable, so we should warn away from using the "any" type as soon as we can.

        Attachments

          Activity

            People

            Assignee:
            huayu.ouyang Huayu Ouyang
            Reporter:
            samy.lanka Samyukta Lanka
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: