summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/recovery_unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/recovery_unit.h')
-rw-r--r--src/mongo/db/storage/recovery_unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/recovery_unit.h b/src/mongo/db/storage/recovery_unit.h
index 48d1e83ece4..bbc56dadb73 100644
--- a/src/mongo/db/storage/recovery_unit.h
+++ b/src/mongo/db/storage/recovery_unit.h
@@ -90,7 +90,7 @@ public:
* transaction resources while minimizing the critical section between generating a new
* timestamp and setting it using setTimestamp.
*/
- virtual void prepareSnapshot() {}
+ virtual void preallocateSnapshot() {}
/**
* Informs this RecoveryUnit that all future reads through it should be from a snapshot