-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
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.)
- documents
-
SERVER-49887 requireApiVersion startup parameter
- Closed
- is related to
-
SERVER-56925 Remove requireApiVersion server parameter?
- Closed
- related to
-
DOCS-14240 Investigate changes in SERVER-53934: Refuse to start shards and config servers with setParameter requireApiVersion=true
- Closed