-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2020-08-24
-
22
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.
- causes
-
SERVER-50278 require_api_version.js fails in passthrough suites
- Closed
- is related to
-
SERVER-56925 Remove requireApiVersion server parameter?
- Closed
- related to
-
SERVER-50784 Must disable requireApiVersion after all fuzz tests
- Closed