diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 5735b89..25c8a29 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -1863,7 +1863,7 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl { } void setOldestVersion(int64_t oldestVersion) { - if (oldestVersion <= this->oldestVersion) { + if (oldestVersion <= this->oldestVersion || keyUpdates < 1000) { return; } this->oldestVersion = oldestVersion;