diff options
Diffstat (limited to 'src/mongo/db/storage/storage_engine.h')
-rw-r--r-- | src/mongo/db/storage/storage_engine.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/storage/storage_engine.h b/src/mongo/db/storage/storage_engine.h index aa06d951c9f..72c09e125b6 100644 --- a/src/mongo/db/storage/storage_engine.h +++ b/src/mongo/db/storage/storage_engine.h @@ -376,6 +376,14 @@ public: OperationContext* opCtx) = 0; /** + * Creates a temporary RecordStore on the storage engine for a resumable index build. On + * startup after an unclean shutdown, the storage engine will drop any un-dropped temporary + * record stores. + */ + virtual std::unique_ptr<TemporaryRecordStore> makeTemporaryRecordStoreForResumableIndexBuild( + OperationContext* opCtx) = 0; + + /** * Creates a temporary RecordStore on the storage engine from an existing ident on disk. On * startup after an unclean shutdown, the storage engine will drop any un-dropped temporary * record stores. |