Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13824

Investigate changes in SERVER-49887: requireApiVersion startup parameter

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • 4.7.0
    • manual, Server
    • None

    Description

      Description

      Downstream Change Summary

      When mongod or mongos are started with --setParameter requireApiVersion=true, all commands require an "apiVersion" parameter.

      Description of Linked Ticket

      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.

      Scope of changes

      Consider doing this and DOCS-14240 together.

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Issue Links

          Activity

            People

              joseph.dougherty@mongodb.com Joseph Dougherty
              backlog-server-pm Backlog - Core Eng Program Management Team
              Jeffrey Allen Jeffrey Allen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 20 weeks, 2 days ago