Closed Austin-Phoenix closed 2 days ago
it seems some service can't start normally. log is :
Traceback (most recent call last):
File "C:\Users\Austin\PycharmProjects\pythonProject1\RAG1\Milvus\test_milvus.py", line 60, in
which milvus lite are u using? Please try latest milvus lite and it should be much easier to maintain
I'm using v2.2.16-lite I just download by pycharm using: ' pip install milvus -i https://pypi.tuna.tsinghua.edu.cn/simple'. It seems in tsinghua.edu.cn, it's already latest or best version for my env(my env is under windows 11). But now, it seems works fine after notebook restart. Anoter question is if i use 'connections.connect(host='127.0.0.1', port=debug_server.listen_port)'. everything is fine. But when i use 'connections.connect("default", uri="./local_milvus_test.db")', the error shows: File "C:\Users\Austin\PycharmProjects\pythonProject1\RAG1\Milvus\test_milvus.py", line 121, in test_3 connections.connect("default", uri="./local_milvus_test.db") File "C:\Users\Austin\PycharmProjects\pythonProject1.venv\Lib\site-packages\pymilvus\orm\connections.py", line 378, in connect from milvus_lite.server_manager import server_manager_instance ModuleNotFoundError: No module named 'milvus_lite' Something point to source code here: 'from milvus_lite.server_manager import server_manager_instance' i just used pip to download milvus and pymilvus. Is there something that i missed for milvus_lite but when i use pip, try to download milvus_lite, it seems there is no module named that, couldn't find it.
Hi @Austin-Phoenix, the older version of Milvus Lite <2.4.x is no longer actively maintained.
Looks like you are using v2.2.16-lite in Windows. The older version is known to have issues like crashing after restarting, due to stability issues. We encourage you to use the latest version of Milvus Lite, which can run on Windows through WSL (https://learn.microsoft.com/en-us/windows/wsl/install). Native windows support is also coming soon, tracked by https://github.com/milvus-io/milvus-lite/issues/176.
Alternatively, you can use the Milvus Standalone mode on Docker, following https://milvus.io/docs/install_standalone-docker.md, which also supports Windows.
thanks codingjaguar,i'll try docker for 2.4x milvus version.
debug log as below: [2024/07/02 17:14:46.181 +08:00] [WARN] [retry/retry.go:39] ["start to reset connection because of specific reasons"] [module=Proxy] [client_role=rootcoord] [error="rpc error: code = Unknown desc = expected=%!s(int64=112), actual=%!s(int64=119): server ID mismatch"] [2024/07/02 17:14:50.186 +08:00] [WARN] [retry/retry.go:39] ["start to reset connection because of specific reasons"] [module=Proxy] [client_role=rootcoord] [error="rpc error: code = Unknown desc = expected=%!s(int64=112), actual=%!s(int64=119): server ID mismatch"] [2024/07/02 17:14:58.194 +08:00] [WARN] [retry/retry.go:39] ["start to reset connection because of specific reasons"] [module=Proxy] [client_role=rootcoord] [error="rpc error: code = Unknown desc = expected=%!s(int64=112), actual=%!s(int64=119): server ID mismatch"] [2024/07/02 17:14:58.195 +08:00] [WARN] [grpcclient/client.go:287] ["retry func failed"] [module=Proxy] ["retry time"=4] [error="rpc error: code = Unknown desc = expected=%!s(int64=112), actual=%!s(int64=119): server ID mismatch"] [2024/07/02 17:15:08.404 +08:00] [WARN] [retry/retry.go:39] ["start to reset connection because of specific reasons"] [module=Proxy] [client_role=rootcoord] [error="rpc error: code = Unknown desc = expected=%!s(int64=112), actual=%!s(int64=119): server ID mismatch"] [2024/07/02 17:15:09.425 +08:00] [WARN] [grpcclient/client.go:367] ["fail to get grpc client"] [module=Proxy] [client_role=indexcoord] [error="find no available indexcoord, check indexcoord state"] [2024/07/02 17:15:09.425 +08:00] [WARN] [retry/retry.go:39] ["grpc client is nil, maybe fail to get client in the retry state"] [module=Proxy] [client_role=indexcoord] [2024/07/02 17:15:09.425 +08:00] [WARN] [grpcclient/client.go:291] ["fail to get grpc client in the retry state"] [module=Proxy] [client_role=indexcoord] [error="find no available indexcoord, check indexcoord state"] [2024/07/02 17:15:10.429 +08:00] [WARN] [retry/retry.go:39] ["grpc client is nil, maybe fail to get client in the retry state"] [module=Proxy] [client_role=indexcoord]