Fixed vacuum from previous commit

This commit is contained in:
Andrew Kane
2023-09-03 01:58:45 -07:00
parent d05d6ee83d
commit b0801b8833

View File

@@ -265,7 +265,12 @@ RepairGraphEntryPoint(HnswVacuumState * vacuumstate)
/* Repair if needed */
if (NeedsUpdated(vacuumstate, highestPoint))
RepairGraphElement(vacuumstate, highestPoint, HnswGetEntryPoint(index));
{
/* Get m and entry point */
HnswGetMetaPageInfo(index, &vacuumstate->m, &entryPoint);
RepairGraphElement(vacuumstate, highestPoint, entryPoint);
}
/* Release lock */
UnlockPage(index, HNSW_UPDATE_LOCK, ShareLock);