-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Python SDK failed to connect local Milvus while the deployment is fine #38873
Comments
Here the log file, @yanliang567 |
it seems that the milvus pod is restarting from time to time. there is an etcd error says: |
I restarted the docker compose several times. Any chance its the reason of pod restarting in the log file ? And all the 3 pods seem working well after the last start: |
@lbbc1117 did you figure out the problem? |
not yet |
@xiaocai2333 Could you provide any help, thanks a lot |
@lbbc1117 I was also having the same issue but its fixed for me now. I tried a few solutions check if any of it helps
|
Sorry for the late response. I found in the logs that:
Could you check your deployment method? It seems that someone actively triggered the shutdown of Milvus. |
thx guys @Silversoul-07 @xiaocai2333 |
Is there an existing issue for this?
Environment
Current Behavior
Run code:
Failed to connect to server:
While the telnet is succeeded:
And the Attu is working too:
Expected Behavior
Connected to local Milvus server
Steps To Reproduce
No response
Milvus Log
milvus-standalone | [2024/12/31 04:26:01.200 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=PreImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:26:01.200 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=ImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:26:01.201 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685723779] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:26:30.052 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:27:00.052 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:27:01.200 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685724080] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:27:30.051 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:28:00.051 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:28:01.198 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=PreImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:28:01.198 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=ImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:28:01.198 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685724381] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:28:30.049 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:29:00.047 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:29:01.196 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685724682] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:29:30.048 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:30:00.047 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:30:01.196 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=PreImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:30:01.196 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=ImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:30:01.198 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685724983] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:30:30.046 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:31:00.044 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:31:01.194 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685725284] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:31:30.044 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:32:00.038 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:32:01.185 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=PreImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:32:01.185 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=ImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:32:01.186 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685725585] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:32:30.028 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:33:00.026 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:33:01.175 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685725886] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:33:30.025 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:34:00.024 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:34:00.210 +00:00] [INFO] [server/rocksmq_impl.go:261] ["Rocksmq stats"] [module=rocksmq] [cache=1040] ["rockskv memtable "=2048] ["rockskv table readers"=384] ["rockskv pinned"=96] ["store memtable "=2048] ["store table readers"=192] ["store pinned"=96] ["store l0 file num"=1] ["store l1 file num"=0] ["store l2 file num"=0] ["store l3 file num"=0] ["store l4 file num"=0]
milvus-standalone | [2024/12/31 04:34:01.172 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=PreImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:34:01.172 +00:00] [INFO] [datacoord/import_checker.go:137] ["import task stats"] [type=ImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:34:01.174 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685726187] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:34:01.591 +00:00] [INFO] [importv2/util.go:273] ["import task stats"] [type=PreImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:34:01.591 +00:00] [INFO] [importv2/util.go:273] ["import task stats"] [type=ImportTask] [pending=0] [inProgress=0] [completed=0] [failed=0]
milvus-standalone | [2024/12/31 04:34:30.023 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:35:00.024 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
milvus-standalone | [2024/12/31 04:35:01.172 +00:00] [INFO] [datacoord/compaction_trigger.go:306] ["the length of SegmentsChanPart is 0, skip to handle compaction"] [compactionID=454982117685726488] [signal.collectionID=0] [signal.partitionID=0] [signal.segmentID=0]
milvus-standalone | [2024/12/31 04:35:30.021 +00:00] [DEBUG] [metrics/thread.go:53] ["thread watcher observe thread num"] [threadNum=26]
Anything else?
No response
The text was updated successfully, but these errors were encountered: