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

requireApiVersion startup parameter

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.7.0
    • Replication
    • None
    • Fully Compatible
    • Repl 2020-08-24
    • 22

    Description

      If mongod/mongos is started with --setParameter requireApiVersion=true, it replies with APIVersionError to all command invocations that omit "apiVersion". Commands that prohibit "apiVersion", such as "getMore" and transaction-continuing commands, prohibit "apiVersion" even with requireApiVersion=true.

      Write a JSTest to check that API parameters are required in all commands except where "apiVersion" is prohibited.

      Attachments

        Issue Links

          Activity

            People

              jesse@mongodb.com A. Jesse Jiryu Davis
              jesse@mongodb.com A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: