Refactor checkShardingIndex command test to use connections properly

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-09-14
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The jstest as it stands today executes the create against a direct shard connection on a potentially non-primary shard. This results in cleanup not being done properly since that drop will not broadcast to all shards, thus leaving potentially incorrect sharding metadata on the tested shard.

            Assignee:
            Jordi Olivares Provencio
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: