-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vectors mysteriously gone in recent version 1.11.4 #5134
Comments
Oh, I forgot to mention that the database was in the status "green" when the issues happened. I tried both the "index" query and the "exact" query, and the same thing happened: nothing could be found. |
And it's a single server instance: no clusters, no shardings. |
Though this shouldn't be a problem, please use graceful shutdowns when possible.
Is that just to ensure everything is there? Because normally, that should not be necessary.
Did you check to explicitly retrieve the points you thought were missing? You can use I assume you have been searching by exact vector to check whether a point still exists. With regular search it may be possible for it not being found. Though, when using exact search you should always see it. |
@timvisee Thanks for your suggestion! We'll try that GET request to check the points the next ime. The crime scene is already gone since it is a production server and we had to reinsert all the vectors to bring it back ASAP. |
Thanks! I don't want to state the obvious, but, we definitely don't expect this with restarts or version upgrades. |
We ran into the same problem with qdrant 1.11.5 yesterday again. Deleting all the data and re-importing the data makes the issue go away. The symptom is that sometimes some data cannot be found in vector search even when The data set is static and never changes. That's why we've been scratching our head when the vector search cannot find something that is definitely there. Very frustrating... We also have a static test suite that may occasionally fail intermittently. The tests also never change. And I saw there's a newer version, 1.12.1. Maybe we should upgrade to the latest version? |
Just upgraded qdrant to the latest 1.12.1 and also upgraded rustc/cargo to the latest 1.82.0 version and will keep watching. |
Hi @agentzh! We did find a problem with payload indices and point deletions. It seems this was introduced in 1.11.4 indeed. Out of curiosity, are you using payload indices during deletion by any chance? If so I'd assume this to be related. |
@timvisee yes! we've been using a lot of payload indexes on string and number typed fields. Glad you pin the bug down! May I ask which version has this issue fixed? Thanks a lot! |
And yes, we use indexes during selective vector/payload deletion since we re-import existing data and any new data in different batches every few days. |
Thanks for confirming. We fixed it in #5346. It is not released yet, but we'll do so shortly. We now have a test in place that ensures the same problem doesn't happen in the future. Sorry for the inconvenience. |
We've just released Qdrant 1.12.2 which does fix this problem: https://github.com/qdrant/qdrant/releases/tag/v1.12.2 Please feel free to give it a try and let us know if issues persist. |
We've noted a possible regression with qdrant 1.11.4 that some of the vectors might just be gone even though insertion requests never had any errors. What we see is that some vectors are just cannot be found in search. And we have to reinsert those vectors to make it searchable again. We ran into two cases just today. We never saw such things with earlier versions like 1.11.1 ~ 1.11.3 before.
How to troubleshoot and debug such things? We might sometimes forcibly shut down the qdrant server with SIGINT or SIGQUIT signals. Will that be a potential cause here?
Today we ugpraded the database to the latest 1.11.5 version and will keep an eye on it...
For each new qdrant version, we always destroy the old collections' vectors and insert all the vectors all over again (just to make sure it's clean).
It's on Linux x86_64 system without containers (just a local build of qdrant with rustc/cargo 1.81.0).
The text was updated successfully, but these errors were encountered: