-
Notifications
You must be signed in to change notification settings - Fork 29
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
collection not loaded: unrecoverable error: fail to search on all shard leaders #33
Comments
'collection not loaded: unrecoverable error: fail to search on all shard leaders' It seems that collection has not loaded. Have you call loadcollection method before search? await milvusClient.LoadCollectionAsync(collectionName); |
Severity Code Description Project File Line Suppression State |
* Clean up progress APIs * Remove overload that yields progress reports, accept IProgress instead * Add index build progress API * Make interval/timeout optional * Redo polling mechanism
The api changed, try this new usage.
Docs here |
i have a eroor when i use the same example in the document(book example )
$>g__Search|2>d.MoveNext() in D:\Users\User\Source\Repos\Ais\Ais\Program.cs:line 96Milvus.Client.MilvusException
HResult=0x80131500
Message=ErrorCode: UnexpectedError Reason: attempt #0: fail to get shard leaders from QueryCoord: collection=443943362921669896: collection not loaded: unrecoverable error: fail to search on all shard leaders
Source=Milvus.Client
StackTrace:
at Milvus.Client.MilvusClient.d__34
2.MoveNext() at Milvus.Client.MilvusCollection.<SearchAsync>d__18
1.MoveNext()at Program.<>c__DisplayClass0_0.<<
at Program.<$>d__0.MoveNext() in D:\Users\User\Source\Repos\Ais\Ais\Program.cs:line 32
The text was updated successfully, but these errors were encountered: