pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #925: Potential problem with "CREATE INDEX CONCURRENTLY"
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #925: Potential problem with "CREATE INDEX CONCURRENTLY"
@ 2025-11-13 18:01  "vloginova (@vloginova)" <noreply+vloginova@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: vloginova (@vloginova) @ 2025-11-13 18:01 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

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);
```

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #925: Potential problem with "CREATE INDEX CONCURRENTLY"
@ 2025-11-13 18:21  "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-11-13 18:21 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @vloginova, this can happen with any index type. See the [Postgres docs](https://www.postgresql.org/docs/current/sql-createindex.html#SQL-CREATEINDEX-CONCURRENTLY) for more info. 

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #925: Potential problem with "CREATE INDEX CONCURRENTLY"
@ 2025-11-13 18:21  "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-11-13 18:21 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2025-11-13 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-11-13 18:01 [pgvector/pgvector] issue #925: Potential problem with "CREATE INDEX CONCURRENTLY" "vloginova (@vloginova)" <noreply+vloginova@github.com>
2025-11-13 18:21 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-11-13 18:21 ` "ankane (@ankane)" <noreply+ankane@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox