pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #635: Whether we should lock element when UpdateNeighborsInMemory ?
Date: Fri, 02 Aug 2024 21:08:00 +0000
Message-ID: <gh-pgvector-pgvector-635-c2266146811@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-635@github.com>
References: <gh-pgvector-pgvector-635@github.com>

Hi @guzhoudiaoke, thanks for reporting. I'm having trouble reproducing the crash, but it does seem possible depending on how the compiler decides to order the instructions (so I think additional locking is needed). A few questions:

1. How often are you seeing the crash?
2. What compiler (including the version) are you using to build the extension?
3. What flags are used to build `hnswbuild.c` and `vector.so` (from the `make` output)?

view thread (11+ messages)  latest in thread

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