Skip to content
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]: loadpatition block #22803

Closed
1 task done
hotwinters opened this issue Mar 16, 2023 · 10 comments
Closed
1 task done

[Bug]: loadpatition block #22803

hotwinters opened this issue Mar 16, 2023 · 10 comments
Assignees
Labels
kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@hotwinters
Copy link

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):go最新的
- OS(Ubuntu or CentOS): windows
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

在尝试使用goSDk,loadpatition加载一个分区的时候,发现线程卡住了,调试进去看发现卡在select里,inmemorypercentages一直为nil,导致持续循环,此时我断开连接,再次打开但不再加载分区,发现能够成功搜索,和释放分区,也就是之前分区加载已经成功了,但不清楚为什么

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@hotwinters hotwinters added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 16, 2023
@xiaofan-luan
Copy link
Collaborator

/assign @bigsheeper

@bigsheeper
Copy link
Contributor

Hello, @hotwinters could you tell me of the version of Milvus you are using? Additionally, could you please provide me with the Milvus log? If you are unsure of how to export the Milvus log, you may refer to this guide. Thank you very much.

@hotwinters
Copy link
Author

2.2version ,日志明天上午能够提供给您

@hotwinters
Copy link
Author

@bigsheeper 日志文件太大了,我应该怎么调整日志的输出内容呀,以及想知道清空日志这些操作应该怎么做

@bigsheeper
Copy link
Contributor

@bigsheeper 日志文件太大了,我应该怎么调整日志的输出内容呀,以及想知道清空日志这些操作应该怎么做

If you're deploying with k8s, Milvus will automatically do log retension.

@bigsheeper
Copy link
Contributor

@hotwinters No worries, I belive I have located the issue and will fix it promptly.

@hotwinters
Copy link
Author

@bigsheeper ok. thanks

@bigsheeper
Copy link
Contributor

Milvus Go SDK still uses ShowCollection and ShowPartitions to check the load state.However, ShowPartition does not assign the Type field to ShowType_InMemory, resulting in the ShowPartition request not being sent to QueryCoord.

Fix: now, ShowCollection and ShowPartitions are deprecated for checking load state, we should use GetLoadingProgress instead, as in pymilvus.

@hotwinters
Copy link
Author

ok,学到了,我先部署下k8s,然后进行下一步的学习

@yanliang567
Copy link
Contributor

close this issue for now.
please feel free to file a new issue, if any probelms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

4 participants