summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index 92d226ce81a..aedcfcc0c64 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -356,9 +356,11 @@ public:
return _minVisibleSnapshot;
}
- void setMinimumVisibleSnapshot(Timestamp name) final {
- _minVisibleSnapshot = name;
- }
+ /**
+ * Updates the minimum visible snapshot. The 'newMinimumVisibleSnapshot' is ignored if it would
+ * set the minimum visible snapshot backwards in time.
+ */
+ void setMinimumVisibleSnapshot(Timestamp newMinimumVisibleSnapshot) final;
bool haveCappedWaiters() final;