Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80137

Override runCommand on implicitly_shard_accessed_collections.js

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: