From f53e65fb6a56efdf7b17c6619140299226ecb0d0 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 22 Sep 2024 09:31:16 -0700 Subject: [PATCH] Updated comment [skip ci] --- src/hnswscan.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/hnswscan.c b/src/hnswscan.c index 4e87d7f..e79a367 100644 --- a/src/hnswscan.c +++ b/src/hnswscan.c @@ -233,13 +233,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir) } else { - /* - * Ensure vacuum does not mark tuples as deleted during an - * iteration. This ensures indextids in NeighborTuple point to - * the correct element without needing version for each one. - * SearchLayer must load neighbor elements in the same - * iteration as reading NeighborTuple for this to work. - */ + /* TODO Figure out locking */ LockPage(scan->indexRelation, HNSW_SCAN_LOCK, ShareLock); HnswBench("scan iteration", so->w = ResumeScanItems(scan));