Closed matt1209 closed 2 years ago
@matt1209 thank you for the issue. Did you also change the index type in collectionprepare.py? It seems that you are using ivf index in search params, while it build hnsw index in collection_prepare.py? Could you please refer this script to export the whole Milvus logs for investigation?
/assign @matt1209 /unassign
Hi, I thought I use HNSW here. I changed the search_param to search_params = {"metric_type": "L2", "params": {"ef": 10}}
but here is same error. I put the log here
e
What's your topk? The ef parameter must in [top_k, 32768].
I see, topk does not matter here. Milvus will use topk as ef if ef<topk. please refer this script to export the whole Milvus logs for investigation. we shall have all completed logs to analzye the issue.
I'm sorry I can't provide here because we don't have internet for all computers.
Is this caused by I run the benchmark script 5 times?
it's hard to tell if no completed logs. does it only reproduce when you run the scripts for 5 times? what about for 1 time? How did you deploy milvus,with helm, operator or docker compose? did you limit the cpu or memory for milvus?
Hi, I just tried for run 1 time but when I did search, there was an error msg : check if Loaded failded when search, partitions:[], err=showPartitions failed, reason=collection xxxx has not been loaded into QueryNode
. Does it must be loaded before search? I tried to run load() but it takes long time and large memery to load.
Hi, I just tried for run 1 time but when I did search, there was an error msg :
check if Loaded failded when search, partitions:[], err=showPartitions failed, reason=collection xxxx has not been loaded into QueryNode
. Does it must be loaded before search? I tried to run load() but it takes long time and large memery to load.
this error indicates that collection load failed. I guess you don't have enough free memory for load the collection.
Hi, I just tried for run 1 time but when I did search, there was an error msg :
check if Loaded failded when search, partitions:[], err=showPartitions failed, reason=collection xxxx has not been loaded into QueryNode
. Does it must be loaded before search? I tried to run load() but it takes long time and large memery to load.this error indicates that collection load failed. I guess you don't have enough free memory for load the collection.
Is there anyway that I can do search on hard disk instead loading to memory? I deploy milvus with docker compose but cpu mem is not enough.
i am afraid not. But a good news is that the community is going to offer a new disk-based index type, which would save about 5-6 times of memory. If everything goes well, it will be available soon this year.
Is there an existing issue for this?
Environment
Current Behavior
When I run
collection.search
, the error raised:fail to search on all shard leaders, fail to Search, QueryNode ID=89
.Expected Behavior
No response
Steps To Reproduce
Milvus Log
Anything else?
No response