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

Improve error messages in IDL Compatibility Checker

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Repl 2022-03-07, Repl 2022-03-21

      Currently the IDL compatibility checker error messages can be confusing to debug.
      For example in this case: Comparing src and src: Error in src/mongo/db/ops/write_ops.idl: ID0010: 'insert' has a new reply field or sub-field 'writeErrors' of type 'object_owned' that has a bson serialization type 'any'

      • We should change references to "new reply field/command parameter/command/_" to "new version of the reply field/command parameter/command/_" to indicate that it's not a new field but the new version of the field, and same with old ___
      • We should also say the name of the old type in the error message. (and similarly for other error messages)

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

              Created:
              Updated:
              Resolved: