From: vloginova (@vloginova) <noreply+vloginova@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #925: Potential problem with "CREATE INDEX CONCURRENTLY"
Date: Thu, 13 Nov 2025 18:01:57 +0000
Message-ID: <gh-pgvector-pgvector-925@github.com> (raw)
We encountered a situation where we created an HNSW index concurrently and received no error. However, we later found that both pg_index.indisvalid and pg_index.indisready were false for that index, as if its creation had not completed properly.
Unfortunately, we are no longer able to reproduce this issue. We were wondering if you have any ideas on how this could be avoided, or if you have received any similar reports.
Index creation command:
```
CREATE INDEX CONCURRENTLY IF NOT EXISTS index_name ON table_name USING hnsw (vector bit_hamming_ops) WITH (m = 20, ef_construction = 256);
```