summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/storage_engine_impl.h')
-rw-r--r--src/mongo/db/storage/storage_engine_impl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/db/storage/storage_engine_impl.h b/src/mongo/db/storage/storage_engine_impl.h
index f95b86f32a7..6a431abe7df 100644
--- a/src/mongo/db/storage/storage_engine_impl.h
+++ b/src/mongo/db/storage/storage_engine_impl.h
@@ -350,7 +350,9 @@ public:
/**
* When loading after an unclean shutdown, this performs cleanup on the DurableCatalogImpl.
*/
- void loadCatalog(OperationContext* opCtx, LastShutdownState lastShutdownState) final;
+ void loadCatalog(OperationContext* opCtx,
+ boost::optional<Timestamp> stableTs,
+ LastShutdownState lastShutdownState) final;
void closeCatalog(OperationContext* opCtx) final;
@@ -454,6 +456,9 @@ private:
// checkpoint timestamp.
TimestampMonitor::TimestampListener _historicalIdentTimestampListener;
+ // Listener for cleanup of CollectionCatalog when oldest timestamp advances.
+ TimestampMonitor::TimestampListener _collectionCatalogCleanupTimestampListener;
+
const bool _supportsCappedCollections;
std::unique_ptr<RecordStore> _catalogRecordStore;