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

Change command "type" struct field compatibility checker to check for new non-optional fields

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2021-03-08

    Description

      Checking for incompatible command type changes should match the logic of checking for incompatible command parameter changes. 

      Specifically, if the command type is a struct, if a new non-optional field is added to the struct, it should fail. If an old unstable field in the struct is changed to a stable, non-optional field, it should also fail. 

      Attachments

        Activity

          People

            huayu.ouyang@mongodb.com Huayu Ouyang
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: