don't create new delta when merging caches
This commit is contained in:
parent
02325f8673
commit
077f9e6e99
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user