summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/metadata_manager.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2020-04-10 04:22:44 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-14 06:30:56 +0000
commit53b6694ef172411cfe8f5939b010efa35dd4d651 (patch)
treeff57436f2f702b8edd4212da8c3ce5d72e5d77eb /src/mongo/db/s/metadata_manager.h
parentf32f2f906f8c37145ed2bf64cd8db99d35671a41 (diff)
downloadmongo-53b6694ef172411cfe8f5939b010efa35dd4d651.tar.gz
SERVER-47468 Remove public CollectionMetadata references from ScopedCollectionDescription
The CollectionMetadata is intended to be an entirely internal (to sharding) implementation detail of the services provided by ScopedCollectionDescription/ScopedOwnershipFilter so should not be seen at all by non-sharding code.
Diffstat (limited to 'src/mongo/db/s/metadata_manager.h')
-rw-r--r--src/mongo/db/s/metadata_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/metadata_manager.h b/src/mongo/db/s/metadata_manager.h
index 27049e16490..724e6a2caf2 100644
--- a/src/mongo/db/s/metadata_manager.h
+++ b/src/mongo/db/s/metadata_manager.h
@@ -69,7 +69,7 @@ public:
* ScopedCollectionDescription goes out of scope, the reference counter on the metadata will be
* decremented and if it reaches to zero, orphan cleanup may proceed.
*/
- ScopedCollectionDescription getActiveMetadata(
+ std::shared_ptr<ScopedCollectionDescription::Impl> getActiveMetadata(
const boost::optional<LogicalTime>& atClusterTime);
/**