diff options
Diffstat (limited to 'src/mongo/db/exec/write_stage_common.h')
-rw-r--r-- | src/mongo/db/exec/write_stage_common.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mongo/db/exec/write_stage_common.h b/src/mongo/db/exec/write_stage_common.h index 169ef5edc6c..89e260e69bb 100644 --- a/src/mongo/db/exec/write_stage_common.h +++ b/src/mongo/db/exec/write_stage_common.h @@ -35,7 +35,6 @@ #include "mongo/db/exec/shard_filterer.h" #include "mongo/db/exec/working_set.h" #include "mongo/db/namespace_string.h" -#include "mongo/db/s/scoped_collection_metadata.h" namespace mongo { @@ -151,23 +150,6 @@ private: }; /** - * This class represents a cached sharding collection description. When resuming from a yield, the - * cache needs to be invalidated. - */ -class CachedShardingDescription { -public: - CachedShardingDescription(const NamespaceString& nss) : _nss(nss) {} - - void restoreState(); - - const ScopedCollectionDescription& getCollectionDescription(OperationContext* opCtx); - -private: - const NamespaceString _nss; - boost::optional<ScopedCollectionDescription> _collectionDescription; -}; - -/** * Returns true if the document referred to by 'id' still exists and matches the query predicate * given by 'cq'. Returns true if the document still exists and 'cq' is null. Returns false * otherwise. |