diff options
Diffstat (limited to 'src/mongo/db/catalog/collection.h')
-rw-r--r-- | src/mongo/db/catalog/collection.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection.h b/src/mongo/db/catalog/collection.h index 097b115864f..ad129695d7c 100644 --- a/src/mongo/db/catalog/collection.h +++ b/src/mongo/db/catalog/collection.h @@ -218,6 +218,14 @@ public: virtual void init(OperationContext* opCtx) {} + /** + * Initializes a collection representative at the provided read timestamp using the shared state + * from an already existing, later collection. + */ + virtual void initFromExisting(OperationContext* opCtx, + std::shared_ptr<Collection> collection, + Timestamp readTimestamp) {} + virtual bool isCommitted() const { return true; } |