milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
29.5k stars 2.83k forks source link

[Bug]: pymilvus.exceptions.MilvusException: <MilvusException: (code=65535, message=unrecoverable error)> #35407

Open jzyKevin opened 1 month ago

jzyKevin commented 1 month ago

Is there an existing issue for this?

Environment

- Milvus version: 2.3.5
- Deployment mode(standalone or cluster): Milvus Lite (standalone?)
- MQ type(rocksmq, pulsar or kafka): rocksmq 
- SDK version(e.g. pymilvus v2.0.0rc2): pymilvus, Version: 2.3.7
- OS(Ubuntu or CentOS): Ubuntu 20.04.2 LTS
- CPU/Memory: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
- GPU: RTX 3090, CUDA Version: 12.1

Current Behavior

I have already stored vectors in a Milvus collection using Milvus lite. Currently, I need to use it for querying, and I am able to query the number of entities in the collection. However, when I try to perform similarity retrieval using vectors, an error occurs while loading the collection into memory, as detailed in the log. Note: I have previously used Milvus standalone for deployment, but switched to Milvus lite due to frequent issues with Docker containers, and I'm not sure if this has any impact.

Log: RPC error: [load_collection], <MilvusException: (code=65535, message=unrecoverable error)>, <Time:{'RPC start': '2024-08-10 12:24:16.208957', 'RPC error': '2024-08-10 12:24:58.848696'}> Traceback (most recent call last): File "milvus_query.py", line 30, in collection.load() File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/orm/collection.py", line 419, in load conn.load_collection( File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/decorators.py", line 140, in handler raise e from e File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/decorators.py", line 136, in handler return func(*args, kwargs) File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/decorators.py", line 175, in handler return func(self, *args, *kwargs) File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/decorators.py", line 115, in handler raise e from e File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/decorators.py", line 86, in handler return func(args, kwargs) File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/client/grpc_handler.py", line 1046, in load_collection check_status(response) File "/home/jinzhouyang/miniconda/envs/db/lib/python3.8/site-packages/pymilvus/client/utils.py", line 54, in check_status raise MilvusException(status.code, status.reason, status.error_code) pymilvus.exceptions.MilvusException: <MilvusException: (code=65535, message=unrecoverable error)>

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

xiaofan-luan commented 1 month ago
  1. please offer full log for investigate.
  2. we don't believe milvus lite can be used in production, but for test both should work
  3. it would be great if you can share your current log to test
yanliang567 commented 1 month ago

@jzyKevin Besides, please also share the code snippet to reproduce the issue.
/assign @jzyKevin /unassign

stale[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.