Comments (2)
Hey @zpfhyj, can you please provide a log of your actions to make sure that nothing is missing from the instructuons?
from landing_page.
Hey @zpfhyj, can you please provide a log of your actions to make sure that nothing is missing from the instructuons?
I created a qdrant cluster using the following command.
First command:
docker run -itd -p 6333:6333 -p 6334:6334 -p 6335:6335 -e QDRANT__CLUSTER__ENABLED=true -v /data/qdrant_data:/qdrant/storage -v /data/config1.yaml:/qdrant/config/production.yaml qdrant/qdrant ./qdrant --uri 'http://172.30.1.245:6335'
Second command:
docker run -itd -p 7333:7333 -p 7334:7334 -p 7335:7335 -e QDRANT__CLUSTER__ENABLED=true -v /data/qdrant_data2:/qdrant/storage -v /data/config2.yaml:/qdrant/config/production.yaml qdrant/qdrant ./qdrant --bootstrap 'http://172.30.1.245:6335'
third command:
docker run -itd -p 8333:8333 -p 8334:8334 -p 8335:8335 -e QDRANT__CLUSTER__ENABLED=true -v /data/qdrant_data3:/qdrant/storage -v /data/config3.yaml:/qdrant/config/production.yaml qdrant/qdrant ./qdrant --bootstrap 'http://172.30.1.245:6335'
After the cluster creation is completed, use curl http://172.30.1.245:6333/cluster It is normal to view the cluster status in this way.
Then, I accessed it in my browser http://172.30.1.245:6333/dashboard ,Create collections through console ,and insert some data。
Then, I use the snapshot command to create a snapshot.
First command:
curl -X POST http://172.30.1.245:6333/collections/test/snapshots
Second command:
curl -X POST http://172.30.1.245:7333/collections/test/snapshots
Third command:
curl -X POST http://172.30.1.245:8333/collections/test/snapshots
After the creation is completed, retrieve the snapshot and the snapshot status is normal.
I use console to delete some data from collections. Then use the following command to restore the snapshot.
curl -X PUT /collections/test/snapshots/recover
{
"location": "http://172.30.1.245:6333/collections/test/snapshots/test-1663519886492901-2024-03-14-10-11-49.snapshot",
"priority": "snapshot"
}
Command execution result output
{"result": true, "status": "ok", "time": 0.033578903}
However, the data was not recovered when viewed through the dashboard, and there are the following errors in the logs:
2024-03-14T10:31:20.103649Z INFO actix_web::middleware::logger: 172.30.1.245 "POST /collections/test/snapshots/upload?priority=snapshot HTTP/1.1" 200 48 "-" "curl/7.29.0" 1.496394
2024-03-14T10:31:20.151846Z WARN storage::content_manager::consensus_manager: Failed to apply collection meta operation entry with user error: Wrong input: Replica 8238391379467480 of shard 1 has state Some(Active), but expected Some(Initializing)
2024-03-14T10:31:20.201606Z WARN storage::content_manager::consensus_manager: Failed to apply collection meta operation entry with user error: Wrong input: Cannot deactivate the last active replica 1663519886492901 of shard 2
from landing_page.
Related Issues (20)
- Link Checker Report HOT 1
- Link Checker Report HOT 1
- Link Checker Report HOT 1
- UnexpectedResponse: Unexpected Response: 400 (Bad Request) Raw response content: b'{"status":{"error":"Format error in JSON body: data did not match any variant of untagged enum Condition at line 1 column 19605"},"time":0.0}' HOT 1
- Link Checker Report HOT 1
- Link Checker Report HOT 1
- feat: Please enable CMD+K shortcut to search the qdrant docs HOT 1
- Link Checker Report HOT 1
- Choosing language in one snippet should change language in others
- Link Checker Report HOT 1
- Why does the one-hot algorithm store 1, but the query comes out with 0.4472136 HOT 1
- Add PremAI Embedding integration with Qdrant HOT 1
- snippet names on mid side screens
- Wrong HTTP example of Filtering HOT 1
- Link Checker Report HOT 1
- Link Checker Report HOT 1
- Include golang examples
- Followed the "Create a Simple Neural Search Service" tutorial. Getting empty output.
- Link Checker Report
- 'QdrantClient' object has no attribute 'check_collection' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from landing_page.