diff options
author | David Storch <david.storch@10gen.com> | 2018-10-26 17:21:58 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-10-31 17:26:35 -0400 |
commit | d6c618fc94ebdfdba5d270e396a084290a54d360 (patch) | |
tree | 81f42ec3ebe8522ebbca4e95a6c1615fccfbdb26 /src/mongo/db/catalog/uuid_catalog.h | |
parent | 5180b48eedec5e57e7f12f734d173184bbff2af7 (diff) | |
download | mongo-d6c618fc94ebdfdba5d270e396a084290a54d360.tar.gz |
SERVER-37444 Added RequiresCollectionStage and use for COLLSCAN.
This is a pure refactor with no user-facing changes. It is
the first step in making PlanExecutors check their own
validity during yield recovery, rather than requiring the
invalidating actor to issue a kill notification.
Diffstat (limited to 'src/mongo/db/catalog/uuid_catalog.h')
-rw-r--r-- | src/mongo/db/catalog/uuid_catalog.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/catalog/uuid_catalog.h b/src/mongo/db/catalog/uuid_catalog.h index 9fd0b518aa8..9a045be4b5f 100644 --- a/src/mongo/db/catalog/uuid_catalog.h +++ b/src/mongo/db/catalog/uuid_catalog.h @@ -171,10 +171,11 @@ public: Collection* removeUUIDCatalogEntry(CollectionUUID uuid); /** - * This function gets the Collection* pointer that corresponds to - * CollectionUUID uuid. The required locks should be obtained prior - * to calling this function, or else the found Collection pointer - * might no longer be valid when the call returns. + * This function gets the Collection pointer that corresponds to the CollectionUUID. The + * required locks should be obtained prior to calling this function, or else the found + * Collection pointer might no longer be valid when the call returns. + * + * Returns nullptr if the 'uuid' is not known. */ Collection* lookupCollectionByUUID(CollectionUUID uuid) const; |