From 9c5b38b09ad0120057676f7e6ed3c3b867fd3ad3 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Wed, 3 Jul 2024 11:27:09 -0700 Subject: [PATCH] Revert setOldestVersion interface change --- include/ConflictSet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/ConflictSet.h b/include/ConflictSet.h index c087a48..3a5c3c5 100644 --- a/include/ConflictSet.h +++ b/include/ConflictSet.h @@ -77,8 +77,8 @@ struct __attribute__((__visibility__("default"))) ConflictSet { * versions. */ void addWrites(const WriteRange *writes, int count, int64_t writeVersion); - /** Reads where readVersion < oldestVersion will result in `TooOld`. Ignored - * if not greater than or equal to all previous oldest versions. */ + /** Reads where readVersion < oldestVersion will result in `TooOld`. Must be + * greater than or equal to all previous oldest versions. */ void setOldestVersion(int64_t oldestVersion); /** Reads where readVersion < oldestVersion will result in `TooOld`. There are @@ -170,8 +170,8 @@ void ConflictSet_addWrites(ConflictSet *cs, const ConflictSet_WriteRange *writes, int count, int64_t writeVersion); -/** Reads where readVersion < oldestVersion will result in `TooOld`. Ignored - * if not greater than or equal to all previous oldest versions. */ +/** Reads where readVersion < oldestVersion will result in `TooOld`. Must be + * greater than or equal to all previous oldest versions. */ void ConflictSet_setOldestVersion(ConflictSet *cs, int64_t oldestVersion); /** Reads where readVersion < oldestVersion will result in `TooOld`. There are