-
Notifications
You must be signed in to change notification settings - Fork 50
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
Intermittent errors creating a collection #187
Comments
Is it possible for your storage is slow? If using slow storage, creating more shards on disk would take more time, which might be causing the timeout. Could you elaborate on your cluster set up a bit? Ideally the following:
The error message you show above is definitely a bug. You should never be able to get into a state where both deleting and creating a collection fails. Hopefully the above gives us a bit more insight. Note that I don't think this is specifically related to the Rust client, but rather to Qdrant itself. |
Hi @timvisee It's possible this is related to Qdrant, but I recall being able to run the commands successfully through the API directly. I will explore and confirm that, if that would be helpful. If you'd like me to move this issue to Qdrant, I can do that, too. Answers below to your questions! Storage ConfigurationOur qdrant data is stored in
IOPSRunning a Full outputs below. Sequential write benchmark
Random write benchmark
Number of nodesWe just have one node. |
@timvisee Just following up here. Any thoughts? |
Hi, I am getting intermittent, inconsistent errors creating a collection. Any insight or assistance appreciated. Thank you in advance for your assistance!
Update: The issue seems to go away when I change the shard number from 4 to 2.
Issues
When I first run the below script, when the collection does not exist, I get
Error: Error in the response: The operation was cancelled Timeout expired
. Despite that, theqdrant_storage/MY_COLLECTION
folder exists, and it shows up in the dashboard.When I run it again, I get
I have also encountered issues where the client does not think the collection exists (so does not try deleting it), but when it tries to create it, I get errors like
Sometimes, it works fine, but it's unclear what conditions lead to success.
Code
main.rs
Cargo.toml
The text was updated successfully, but these errors were encountered: