How does similarity filter interact with fine-grain SIREAD locks?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
No files, tests, or entry points are named. Start by establishing the PostgreSQL SERIALIZABLE and SIREAD-lock behavior for the similarity query described, then inspect the relevant vector-search locking path; done means a confirmed explanation of the current behavior and a resolved decision on whether fine-grained locking belongs on the roadmap.
Written by the indexing model from the issue text.
Description
Hello,
Thanks again for this wonderful product and the hard work you've put into it.
Do similarity filters restrict the range of records for SIREAD locks? i.e. when in a SERIALIZABLE transaction and issuing a query with a similarity filter condition (e.g. SELECT FROM vectors WHERE centroid <<#>> sphere($1::halfvec, $2)), can pgsql restrict the concurrency checks to the range of rows that fell within the $2 search radius for fine-grained locking or is the entire table marked for SIREAD locks? Do any inserts into vectors during this transaction cause the serializable query to fail or only those that fell into the search radius?
I'm guessing fine-grained locking isn't implemented, but it would be amazing if it were! Is this on the roadmap?
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supervc-stack/VectorChord
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
supervc-stack/VectorChord#470 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
supervc-stack/VectorChord#469 · 1 reaction ·
-
PostgreSQL 19 Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
supervc-stack/VectorChord#464 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
supervc-stack/VectorChord#463 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
supervc-stack/VectorChord#459 · 1 comment ·
All issues in supervc-stack/VectorChord
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stratum-mining/stratum#2404 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·