diff options
author | Blake Oler <blake.oler@mongodb.com> | 2020-04-13 16:01:34 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-13 22:29:51 +0000 |
commit | 5f9a708cfec908d51327236d7db3be035fac0062 (patch) | |
tree | 096bceb85ea31dccd87d8a1a18d51943322f937e /src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp | |
parent | ffa39df7e8eec01b3a9b41fd141ca8d0f8ad974c (diff) | |
download | mongo-5f9a708cfec908d51327236d7db3be035fac0062.tar.gz |
SERVER-47426 Remove ShardConnection and VersionManager
Diffstat (limited to 'src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp')
-rw-r--r-- | src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp b/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp index 8acfb24c7d6..b82b923d97e 100644 --- a/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp +++ b/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp @@ -66,7 +66,6 @@ #include "mongo/s/catalog/type_database.h" #include "mongo/s/catalog/type_shard.h" #include "mongo/s/client/shard.h" -#include "mongo/s/client/shard_connection.h" #include "mongo/s/client/shard_registry.h" #include "mongo/s/cluster_identity_loader.h" #include "mongo/s/database_version_helpers.h" @@ -857,7 +856,6 @@ RemoveShardProgress ShardingCatalogManager::removeShard(OperationContext* opCtx, // The shard which was just removed must be reflected in the shard registry, before the replica // set monitor is removed, otherwise the shard would be referencing a dropped RSM Grid::get(opCtx)->shardRegistry()->reload(opCtx); - shardConnectionPool.removeHost(name); ReplicaSetMonitor::remove(name); // Record finish in changelog |