From 9fa17c10b880ca100682106e9bbcf6267a5248f1 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 30 Jun 2026 13:40:32 -0700 Subject: [PATCH] Added comments to HNSW vacuuming tests [skip ci] --- test/t/046_hnsw_vacuum_scan.pl | 1 + test/t/047_hnsw_vacuum_insert.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/test/t/046_hnsw_vacuum_scan.pl b/test/t/046_hnsw_vacuum_scan.pl index c9b48cd..cfdfa74 100644 --- a/test/t/046_hnsw_vacuum_scan.pl +++ b/test/t/046_hnsw_vacuum_scan.pl @@ -22,6 +22,7 @@ $node->safe_psql("postgres", $node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);"); $node->safe_psql("postgres", "DELETE FROM tst"); +# Test HNSW_SCAN_LOCK at the beginning of MarkDeleted is effective $node->pgbench( "--no-vacuum --client=5 --transactions=1000", 0, diff --git a/test/t/047_hnsw_vacuum_insert.pl b/test/t/047_hnsw_vacuum_insert.pl index a67b966..7ec7571 100644 --- a/test/t/047_hnsw_vacuum_insert.pl +++ b/test/t/047_hnsw_vacuum_insert.pl @@ -21,6 +21,7 @@ $node->safe_psql("postgres", ); $node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);"); +# Test no "hnsw graph not repaired" errors $node->pgbench( "--no-vacuum --client=5 --transactions=1000", 0,