Skip to content

skip extra links indexing if vectors are deleted#8125

Merged
generall merged 1 commit intodevfrom
prevent-slow-optimization-on-deleted-vectors
Feb 13, 2026
Merged

skip extra links indexing if vectors are deleted#8125
generall merged 1 commit intodevfrom
prevent-slow-optimization-on-deleted-vectors

Conversation

@generall
Copy link
Member

Currently, if we have a situation where majotity of vectors are deleted, indexing of additional paylaods becomes more expensive because of graph merge overhead.
Graph merge happens regardless of the actual numebr of additionally indexed points.
This PR fixes that.

How to repro problem:

docker run --rm -it --network=host qdrant/bfb:dev ./bfb -n 500k -d 128 --keywords 1000 --vectors-per-point 2 --hnsw-m 0 --hnsw-payload-m 16 --segments 1

and then

POST /collections/benchmark/points/vectors/delete
{
  "vector": ["0"],
  "filter": {
    "must": []
  }
}

Indexation of removed vectors will take more time then existing ones.

@generall generall requested a review from xzfc February 13, 2026 11:31
@qdrant qdrant deleted a comment from coderabbitai bot Feb 13, 2026
@generall generall merged commit 0b68c7d into dev Feb 13, 2026
15 checks passed
@generall generall deleted the prevent-slow-optimization-on-deleted-vectors branch February 13, 2026 12:58
@timvisee timvisee mentioned this pull request Feb 17, 2026
5 tasks
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.

2 participants