diff options
Diffstat (limited to 'src/mongo/db/storage/storage_engine.h')
-rw-r--r-- | src/mongo/db/storage/storage_engine.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/db/storage/storage_engine.h b/src/mongo/db/storage/storage_engine.h index 1fe8ed0ee39..d85f19e012f 100644 --- a/src/mongo/db/storage/storage_engine.h +++ b/src/mongo/db/storage/storage_engine.h @@ -207,6 +207,11 @@ public: virtual bool supportsCappedCollections() const = 0; /** + * Returns whether the storage engine supports checkpoints. + */ + virtual bool supportsCheckpoints() const = 0; + + /** * Returns true if the engine does not persist data to disk; false otherwise. */ virtual bool isEphemeral() const = 0; @@ -629,6 +634,12 @@ public: virtual DurableCatalog* getCatalog() = 0; virtual const DurableCatalog* getCatalog() const = 0; + virtual void addIndividuallyCheckpointedIndex(const std::string& ident) = 0; + + virtual void clearIndividuallyCheckpointedIndexes() = 0; + + virtual bool isInIndividuallyCheckpointedIndexes(const std::string& ident) const = 0; + /** * A service that would like to pin the oldest timestamp registers its request here. If the * request can be satisfied, OK is returned with the oldest timestamp the caller can |