don't create new delta when merging caches

This commit is contained in:
DavIvek 2024-03-08 17:00:28 +01:00
parent 02325f8673
commit 077f9e6e99

View File

@ -629,8 +629,7 @@ std::unordered_set<Gid> DiskStorage::MergeVerticesFromMainCacheWithLabelIndexCac
/// TODO: here are doing serialization and then later deserialization again -> expensive
LoadVertexToLabelIndexCache(transaction, utils::SerializeVertexAsKeyForLabelIndex(label, vertex.gid),
utils::SerializeVertexAsValueForLabelIndex(label, vertex.labels, vertex.properties),
CreateDeleteDeserializedIndexObjectDelta(index_deltas, std::nullopt, ts),
indexed_vertices->access());
vertex.delta, indexed_vertices->access());
}
}
return gids;