Comments (11)
/assign
from milvus.
/unassign
from milvus.
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version: - Deployment mode(standalone or cluster): - MQ type(rocksmq, pulsar or kafka): - SDK version(e.g. pymilvus v2.0.0rc2): - OS(Ubuntu or CentOS): - CPU/Memory: - GPU: - Others:
Current Behavior
DropDatabase has already passed the dbID, remove with prefix in snapshot may remove another db which has the same prefix. In the case that it is not easy to have the same prefix (such as collectionID), load will also have better performance.
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
is there a spliter for the key?
for example, we can remove db/ instead db.
if we concat the key with some delimiter, this is the fast way to fix
from milvus.
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version: - Deployment mode(standalone or cluster): - MQ type(rocksmq, pulsar or kafka): - SDK version(e.g. pymilvus v2.0.0rc2): - OS(Ubuntu or CentOS): - CPU/Memory: - GPU: - Others:
Current Behavior
DropDatabase has already passed the dbID, remove with prefix in snapshot may remove another db which has the same prefix. In the case that it is not easy to have the same prefix (such as collectionID), load will also have better performance.
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
is there a spliter for the key? for example, we can remove db/ instead db. if we concat the key with some delimiter, this is the fast way to fix
But in fact, the key removed here is the key itself, not the prefix of the key. For example, when creating database, the key root-coord/database/db-info/dbid will be saved. When dropping database, pass in root-coord/database/db-info/dbid as the prefix. If has the same prefixes, will cause other db to be removed too.
multiSaveAndRmove seems more appropriate.
from milvus.
can you give an example?
from milvus.
don't quite understand about this part
from milvus.
don't quite understand about this part
For example, you create 11 databases. The id of databases is 0-10. RootCoord will save the key "root-coord/database/db-info/dbID" in snapshot.
if you want to drop database(id =1), RootCoord will remove it by writing tombstone. the prefix here is "root-coord/database/db-info/1". snapshot will list all the keys with the prefix, and then save it. So in this case, dbID 10 will be listed for having the same prefix and will be written tombstone.
from milvus.
the easiest fix is to always drop root-coord/database/db-info/1/ ?
from milvus.
the easiest fix is to always drop root-coord/database/db-info/1/ ?
The keys now do not contain delimiters at the end, may bring some compatibility issues.
from milvus.
so we just want to delete 1 key?
from milvus.
so we just want to delete 1 key?
yes, from the code, it actually just want to delete 1 key, I have added the MultiSaveAndRemove in the snapshot interface.
from milvus.
Related Issues (20)
- [Bug]: fail to start milvus HOT 3
- [Feature]: Milvus Support Online alter index for scalar fields HOT 1
- [Bug]: When the query node is rolling upgraded, with 3 replicas, the first two query nodes are upgraded quickly, but the third query node waits for 30 minutes before completing the upgrade. HOT 1
- [Feature]: Introduce Vshard in data hierarchy HOT 2
- [Bug]: flaky test case `test_compact_max_time_interval` in ci HOT 1
- [Bug]: Data race in clustering compaction
- [Bug]: Milvus' standalone and mix modes may not start due to port conflict HOT 1
- [Bug]:[restful v2] If the consistencyLevel value is not set to a valid value, the request will not return an error but instead return an empty string. HOT 2
- [Feature]: Import data (e.g. - vectors in parquet files) into milvus standalone with local storageType HOT 1
- [Enhancement]: Add split_cluster_writer to support vshard/clustering compactor
- [Bug]: [benchmark][cluster] DQL requests `failed to reduce search results` in concurrent DQL and DML scene HOT 1
- [Feature]: Add more vector fields availability HOT 2
- [Enhancement]: restful API(/v2/vectordb/collections/create) parameter does not take effect HOT 2
- [Bug]: After deleting a large amount of varchar pk by complex expr, proxy oom and cp lag continue to grow HOT 2
- [Bug]: The number of collection num counted by queryCoord is incorrect HOT 3
- [Bug]: [null & default] Failed to create collection for the second time with the same schema when set "default_value" property for one field HOT 2
- [Enhancement]: Enable balance on querynode with different mem capacity HOT 1
- [Feature]: Ask for Bfloat16 data type insert. HOT 6
- proxy node 错误日志:reason="collection not found HOT 8
- [Bug]: Many open vulnerabilities in Milvus helm chart HOT 1
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 milvus.