-
Notifications
You must be signed in to change notification settings - Fork 704
WaitFor Milvus #5707
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
WaitFor Milvus #5707
Conversation
Looks like the health check isn't working |
Co-authored-by: David Fowler <[email protected]>
} | ||
internal static MilvusClient CreateMilvusClient(IServiceProvider sp, string? connectionString) | ||
{ | ||
if (connectionString is null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @davidfowl we should do this because the created Milvus connection string in app-host isn't compatible with MilvusClient and those properties (database, endpoint, key) should be extracted before creating MilvusClient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a reason this wasn't done?
|
||
var milvus = new MilvusServerResource(name, apiKeyParameter); | ||
|
||
string? connectionString = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably technically don't need the connection string here since you have the client.
Adds a health check to the host for Milvus resource so that it works with WaitFor.
Related #5645
Checklist
<remarks />
and<code />
elements on your triple slash comments?Microsoft Reviewers: Open in CodeFlow