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

Check that all API Version 1 commands have an associated IDL file specifying inputs/outputs

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Repl 2020-11-16

      list_idl_files_for_api_version.py should call "listCommands" on a mongod and on a mongos built from the current commit. It should call each command with apiVersion: "1", apiStrict: true to check if the command is in API Version 1 in the current commit. If so, the script will assert that there is an IDL file specifying that command, or that the command is in a hard-coded list of excused commands (those tested in PM-1846, plus "insert", and perhaps others). If the script finds a command in API Version 1 on mongod but not mongos, or vice versa, it should print an error and quit.

      Until all API Version 1 commands' inputs/outputs are specified in IDL, this part of the script will have to stay disabled.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: