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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/storage/recovery_unit.h b/src/mongo/db/storage/recovery_unit.h
index 331c68046be..1e2626c5951 100644
--- a/src/mongo/db/storage/recovery_unit.h
+++ b/src/mongo/db/storage/recovery_unit.h
@@ -214,6 +214,15 @@ public:
}
/**
+ * Fetches the storage level statistics.
+ */
+ virtual BSONObj getOperationStatistics() const {
+ return {};
+ }
+
+ /**
+ * The ReadSource indicates which exteral or provided timestamp to read from for future
+ * transactions.
* When no read timestamp is provided to the recovery unit, the ReadSource indicates which
* external timestamp source to read from.
*/