mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 17:51:18 +08:00
Added todo [skip ci]
This commit is contained in:
@@ -256,8 +256,12 @@ RepairGraphEntryPoint(HnswVacuumState * vacuumstate)
|
||||
HnswElement entryPoint;
|
||||
MemoryContext oldCtx = MemoryContextSwitchTo(vacuumstate->tmpCtx);
|
||||
|
||||
/*
|
||||
* TODO Look for newer highest point. Outdated point works, but can remove
|
||||
* connections at higher levels in the graph, which is not ideal.
|
||||
*/
|
||||
|
||||
/* Repair graph for highest non-entry point */
|
||||
/* This may not be the highest with new inserts, but should be fine */
|
||||
if (BlockNumberIsValid(highestPoint->blkno))
|
||||
{
|
||||
HnswLoadElement(highestPoint, NULL, NULL, index, vacuumstate->procinfo, vacuumstate->collation, true);
|
||||
|
||||
Reference in New Issue
Block a user