diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-02-08 16:53:03 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-02-12 14:06:14 -0500 |
commit | e6fef1f93c6daf736b69f40cc4c0c92b4df75b4b (patch) | |
tree | 47913fbeaba3b9a2c58530b264ac4132e5d27460 /src/mongo/db/s/sharding_state.h | |
parent | fe1587bfc8e3507eb044721a0fa98c456659b629 (diff) | |
download | mongo-e6fef1f93c6daf736b69f40cc4c0c92b4df75b4b.tar.gz |
SERVER-29908 Consolidate some sharding libraries to help break dependency cycles
Diffstat (limited to 'src/mongo/db/s/sharding_state.h')
-rw-r--r-- | src/mongo/db/s/sharding_state.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/s/sharding_state.h b/src/mongo/db/s/sharding_state.h index f14815502b3..c42d0c5f111 100644 --- a/src/mongo/db/s/sharding_state.h +++ b/src/mongo/db/s/sharding_state.h @@ -37,7 +37,6 @@ #include "mongo/db/s/active_migrations_registry.h" #include "mongo/db/s/chunk_splitter.h" #include "mongo/db/s/collection_sharding_state.h" -#include "mongo/db/s/migration_destination_manager.h" #include "mongo/executor/task_executor.h" #include "mongo/executor/thread_pool_task_executor.h" #include "mongo/stdx/functional.h" @@ -111,10 +110,6 @@ public: std::string getShardName(); - MigrationDestinationManager* migrationDestinationManager() { - return &_migrationDestManager; - } - /** * Initializes the sharding state of this server from the shard identity document argument * and sets secondary or primary state information on the catalog cache loader. @@ -303,9 +298,6 @@ private: */ ChunkVersion _refreshMetadata(OperationContext* opCtx, const NamespaceString& nss); - // Manages the state of the migration recipient shard - MigrationDestinationManager _migrationDestManager; - // Tracks the active move chunk operations running on this shard ActiveMigrationsRegistry _activeMigrationsRegistry; |