requireApiVersion startup parameter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2020-08-24
    • 22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: