[SERVER-68923] In catalog shard POC, removeShard needs to use direct client only Created: 17/Aug/22  Updated: 29/Oct/23  Resolved: 03/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam2, sharding-nyc-subteam2-catalog-poc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2022-08-22, Sharding 2022-09-05, Sharding 2022-09-19, Sharding 2022-10-03, Sharding 2022-10-17
Participants:
Story Points: 1

 Description   

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

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


Generated at Thu Feb 08 06:12:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.