-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
1
There are passthrough suites that implicitly shard all the created collections by overriding the shell commands createCollection and getCollection methods by importing the implicitly_shard_accessed_collections.js file like here.
However, the current implementation doesn't override the runCommand method so any collection created through a runCommand call won't be implicitly sharded.
The purpose of this ticket is to override the runCommand for create command in implicitly_shard_accessed_collections.js to be sure all created collections are implicitly sharded. Here is an example of a runCommand override for multi stmt txn passthrough suite.