pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: tureba (@tureba) <noreply+tureba@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #569: Duplicate error when creating a vector index using HNSW
Date: Mon, 27 May 2024 17:05:15 +0000
Message-ID: <gh-pgvector-pgvector-569-c2133840844@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-569@github.com>
References: <gh-pgvector-pgvector-569@github.com>

> I am investigating some more, but it looks like the building of the index failed initially and left things around, i.e., not atomic. I may be completely wrong, but something did glitch.

Was the index created CONCURRENTLY? If so, any hiccup may leave it as invalid, including a connection loss on the client that issued the command. Note that it's concurrent to other sessions, not asynchronous or in the background in any way. So the session where you run the concurrent command has to remain up and healthy for the entire duration of the statement.

view thread (9+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-569-c2133840844@github.com>
Permalink:  ../gh-pgvector-pgvector-569-c2133840844@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