In catalog shard POC, removeShard needs to use direct client only

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2022-08-22, Sharding 2022-09-05, Sharding 2022-09-19, Sharding 2022-10-03, Sharding 2022-10-17
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is the fix for `ShardingCatalogManager::removeShard() -> ShardingCatalogManager::_runCountCommandOnConfig()` that is currently still calling `runCommand()` remotely.

      This breaks the test:
      jstests/sharding/remove2.js

              Assignee:
              Andrew Shuvalov (Inactive)
              Reporter:
              Andrew Shuvalov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: