CheckHealth()
Checks whether the connected Milvus server is healthy.
pub async fn check_health(&self, request: CheckHealthRequest) -> Result<CheckHealthResponse>
Request Syntax
let request = CheckHealthRequest::builder()
.build()?;
REQUEST FIELDS:
This request takes no fields.
RETURNS:
Result
CheckHealthResponse exposes is_healthy(), reasons() returning any health failure reasons, and quota_states() returning the per-component quota states. Returns an Error on failure.
Example
let request = CheckHealthRequest::builder().build()?;
let resp = client.check_health(request).await?;
assert!(resp.is_healthy());