Skip to content

Conversation

usamoi
Copy link
Contributor

@usamoi usamoi commented Apr 15, 2025

Consider the following scenario:

  1. Process 1 performs a search and finds vector A. It locates x (1920 dimensions).
  2. Process 2 deletes vector A from the index. x (1920 dimensions) and y (1 dimension) are deleted.
  3. Process 3 inserts vector B into the index. y (1920 dimensions) and z (1 dimension) are inserted.
  4. Process 1 locates y (1920 dimensions) and detects a length mismatch, resulting in an error.

Since vector a can be deleted and is therefore guaranteed not to be included in the query results, any error related to a during reranking should be silently ignored.

Signed-off-by: usamoi <usamoi@outlook.com>
@usamoi usamoi force-pushed the update-pgrx-0.14.0 branch 3 times, most recently from 9f042e2 to 72956d3 Compare April 15, 2025 01:33
@usamoi usamoi merged commit 6c31c86 into tensorchord:main Apr 15, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant