pgvector.git / summary / log / commit / refs
commit d053de2d94518b64f132e0cc4e1aa0d611a5ebae
Author: Andrew Kane <andrew@ankane.org>
Date: Tue Jun 30 09:31:54 2026 +0000
Removed deletion list check in MarkDeleted (does not help safety) [skip ci]
src/hnswvacuum.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/hnswvacuum.c b/src/hnswvacuum.c
index 2a5ab2cc..ea1a30b5 100644
--- a/src/hnswvacuum.c
+++ b/src/hnswvacuum.c
@@ -645,7 +645,6 @@ MarkDeleted(HnswVacuumState * vacuumstate)
Page npage;
BlockNumber neighborPage;
OffsetNumber neighborOffno;
- ItemPointerData indextid;
/* Skip neighbor tuples */
if (!HnswIsElementTuple(etup))
@@ -665,18 +664,6 @@ MarkDeleted(HnswVacuumState * vacuumstate)
if (ItemPointerIsValid(&etup->heaptids[0]))
continue;
- /* Confirm in deletion list */
- ItemPointerSet(&indextid, blkno, offno);
- if (!DeletingElement(vacuumstate->deleting, &indextid))
- {
- /*
- * Should not happen, but skip if it does since there may be
- * connections from other elements
- */
- Assert(false);
- continue;
- }
-
/* Get neighbor page */
neighborPage = ItemPointerGetBlockNumber(&etup->neighbortid);
neighborOffno = ItemPointerGetOffsetNumber(&etup->neighbortid);
[parent: 83bac908695f]