diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2019-08-13 09:58:27 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2019-08-13 12:49:19 -0400 |
commit | d3d60b5500b9993d0a998cb7ac911430662d905c (patch) | |
tree | e2934c4431a6e8a9d03094dc7c164b82b5e66b6a /src/mongo/db/s/metadata_manager.cpp | |
parent | aea4be527bf018e905e0da966c87782624924ecf (diff) | |
download | mongo-d3d60b5500b9993d0a998cb7ac911430662d905c.tar.gz |
SERVER-42791 Remove unused/duplicate definition of UnshardedCollection in metadata_manager.cpp
Diffstat (limited to 'src/mongo/db/s/metadata_manager.cpp')
-rw-r--r-- | src/mongo/db/s/metadata_manager.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/s/metadata_manager.cpp b/src/mongo/db/s/metadata_manager.cpp index 5f48778deca..e843eeff898 100644 --- a/src/mongo/db/s/metadata_manager.cpp +++ b/src/mongo/db/s/metadata_manager.cpp @@ -117,20 +117,6 @@ using CallbackArgs = TaskExecutor::CallbackArgs; MONGO_FAIL_POINT_DEFINE(suspendRangeDeletion); -class UnshardedCollection : public ScopedCollectionMetadata::Impl { -public: - UnshardedCollection() = default; - - const CollectionMetadata& get() override { - return _metadata; - } - -private: - CollectionMetadata _metadata; -}; - -const auto kUnshardedCollection = std::make_shared<UnshardedCollection>(); - /** * Deletes ranges, in background, until done, normally using a task executor attached to the * ShardingState. |