This jstest will enumerate all commands and for each, specify (1) whether it is expected to send a dbVersion or not, and if so (2) whether sending the dbVersion has been implemented yet.
It will then verify that for commands that are expected to send a dbVersion, if they've been specified as implemented, then the primary shard indeed receives them with a dbVersion, else the primary shard receives them without a dbVersion.
This jstest will help track which paths have been implemented (and provide an easy, consistent way to test that a patch to send a dbVersion on a new path is working).
- related to
-
SERVER-33421 Write tests to make sure that all mongos commands are setting the allowImplicitCollectionCreation field correctly
- Backlog
-
SERVER-33428 add database versioning test cases for explain commands
- Closed
-
SERVER-33429 add database versioning test cases for commands not tracked by the profiler
- Closed