Require oldestVersion increasing

This commit is contained in:
2024-01-17 14:13:22 -08:00
parent aa85c77d8f
commit d515332906

View File

@@ -42,7 +42,8 @@ struct ConflictSet {
/// overlapping ranges. Reads intersecting writes where readVersion <
/// writeVersion will result in `Conflict` (or `TooOld`, eventually)
void addWrites(const WriteRange *writes, int count);
/// Reads where readVersion < oldestVersion will result in `TooOld`
/// Reads where readVersion < oldestVersion will result in `TooOld`. Must be
/// greater than any previous oldestVersion.
void setOldestVersion(int64_t oldestVersion);
/// Reads where readVersion < oldestVersion will result in `TooOld`. There are