Renamed HnswInsertElement to HnswFindElementNeighbors [skip ci]

This commit is contained in:
Andrew Kane
2024-01-22 16:59:08 -08:00
parent a069e18fe4
commit 3ecb9a3cb2
5 changed files with 8 additions and 8 deletions

View File

@@ -208,8 +208,8 @@ RepairGraphElement(HnswVacuumState * vacuumstate, HnswElement element, HnswEleme
HnswInitNeighbors(NULL, element, m, NULL);
element->heaptidsLength = 0;
/* Add element to graph, skipping itself */
HnswInsertElement(NULL, element, entryPoint, index, procinfo, collation, m, efConstruction, true);
/* Find neighbors for element, skipping itself */
HnswFindElementNeighbors(NULL, element, entryPoint, index, procinfo, collation, m, efConstruction, true);
/* Update neighbor tuple */
/* Do this before getting page to minimize locking */