Relax obsolete entries

This commit is contained in:
Josip Mrden 2024-02-27 11:54:37 +01:00
parent 86ff96697d
commit 04e9d0775c

View File

@ -160,7 +160,7 @@ void InMemoryLabelPropertyIndex::RemoveObsoleteEntries(uint64_t oldest_active_st
continue;
}
if ((next_it != index_acc.end() && it->vertex == next_it->vertex && it->value == next_it->value) ||
if ((next_it != index_acc.end() && it->vertex == next_it->vertex) ||
!AnyVersionHasLabelProperty(*it->vertex, label_property.first, label_property.second, it->value,
oldest_active_start_timestamp)) {
index_acc.remove(*it);