[Test only] Implicitly shard a collection upon runCommand

XMLWordPrintableJSON

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

      Some test suites implicitly shard collections to increase the coverage of sharded collections by overriding some functions in implicitly_shard_accessed_collections.js.

      The overridden functions are DB.prototype.createCollection, DB.prototype.getCollection and DBCollection.prototype.drop, but not Mongo.prototype.runCommand.

      It would be good to improve the coverage around sharded collections to implicitly shard a collection through a runCommand that executes a create command.

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

              Created:
              Updated: