Override runCommand on implicitly_shard_accessed_collections.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: