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

Ban incompatible validator changes in API Version 1 IDL command definitions

    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

      A few API Version 1 commands accept parameters that have validators defined in IDL. For example, "listCollections" accepts {cursor: {batchSize: x}}, where "x" is an integer with a validator that checks it is non-negative.

      As part of our IDL compatibility checking, implement the simplest possible rules for validators.

      Attachments

        Activity

          People

            huayu.ouyang@mongodb.com Huayu Ouyang
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: