diff options
Diffstat (limited to 'src/mongo/db/s/sharding_state.h')
-rw-r--r-- | src/mongo/db/s/sharding_state.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mongo/db/s/sharding_state.h b/src/mongo/db/s/sharding_state.h index cf5cc2945f9..a21e8e2d489 100644 --- a/src/mongo/db/s/sharding_state.h +++ b/src/mongo/db/s/sharding_state.h @@ -36,7 +36,6 @@ #include "mongo/db/namespace_string.h" #include "mongo/db/s/active_migrations_registry.h" #include "mongo/db/s/active_move_primaries_registry.h" -#include "mongo/db/s/chunk_splitter.h" #include "mongo/db/s/collection_sharding_state.h" #include "mongo/stdx/functional.h" #include "mongo/stdx/memory.h" @@ -128,20 +127,6 @@ public: */ Status updateConfigServerOpTimeFromMetadata(OperationContext* opCtx); - ChunkSplitter* getChunkSplitter(); - - /** - * Should be invoked when the shard server primary enters the 'PRIMARY' state. - * Sets up the ChunkSplitter to begin accepting split requests. - */ - void initiateChunkSplitter(); - - /** - * Should be invoked when this node which is currently serving as a 'PRIMARY' steps down. - * Sets the state of the ChunkSplitter so that it will no longer accept split requests. - */ - void interruptChunkSplitter(); - void appendInfo(OperationContext* opCtx, BSONObjBuilder& b); bool needCollectionMetadata(OperationContext* opCtx, const std::string& ns); @@ -269,9 +254,6 @@ private: // Tracks the active move primary operations running on this shard ActiveMovePrimariesRegistry _activeMovePrimariesRegistry; - // Handles asynchronous auto-splitting of chunks - std::unique_ptr<ChunkSplitter> _chunkSplitter; - // Protects state below stdx::mutex _mutex; |