summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/backup_cursor_hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/backup_cursor_hooks.h')
-rw-r--r--src/mongo/db/storage/backup_cursor_hooks.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/storage/backup_cursor_hooks.h b/src/mongo/db/storage/backup_cursor_hooks.h
index 658ae16370c..a130d3c27b3 100644
--- a/src/mongo/db/storage/backup_cursor_hooks.h
+++ b/src/mongo/db/storage/backup_cursor_hooks.h
@@ -64,7 +64,11 @@ public:
virtual BackupCursorState openBackupCursor(OperationContext* opCtx);
- virtual void closeBackupCursor(OperationContext* opCtx, UUID backupId);
+ virtual void closeBackupCursor(OperationContext* opCtx, const UUID& backupId);
+
+ virtual BackupCursorExtendState extendBackupCursor(OperationContext* opCtx,
+ const UUID& backupId,
+ const Timestamp& extendTo);
virtual bool isBackupCursorOpen() const;
};