Amortize cost of pausing gc in setOldestVersion
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user