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
Loading collection console log keeps looping with errors in milvus-sdk-java 2.4.0 #880
Comments
The retry machinery is consistent with the milvus python sdk which is as-designed: https://github.com/milvus-io/pymilvus/blob/1081c49fcc21039300fec22e7b19805be8f198f0/pymilvus/decorators.py#L42 The loadCollection() calls showCollection() to check loading progress. Seems the showCollection() failed in rpc. "CANCELLED: Failed to read message" is a GRPC error, it indicates the connection is broken or closed. |
The querycoord failed to initialize. Need the full log to know what the error is. |
Problem Description
When calling the
loadCollection
method after creating a collection withmilvus-sdk-java
2.4.0, theMilvusServiceClient
keeps executing a loading loop and throwing errors. Weirdly,milvus-attu
shows that the collection has been loaded, but the console log keeps looping with errors.Error Log
Environment
Steps to Reproduce
Expected Behavior
The collection should be loaded successfully without looping errors.
Additional Information
Hope someone can help me resolve this issue.
Additionally, I noticed that the
MilvusServiceClient
has a default retry mechanism for almost every database interaction withprivate int maxRetryTimes = 75
. Why is the retry count set to 75? Is there any specific reason behind this number?The text was updated successfully, but these errors were encountered: