Skip to content

HealthCheck: Set initial state#1841

Merged
harshavardhana merged 1 commit into
minio:masterfrom
klauspost:healthcheck-do-initial-state
Jun 20, 2023
Merged

HealthCheck: Set initial state#1841
harshavardhana merged 1 commit into
minio:masterfrom
klauspost:healthcheck-do-initial-state

Conversation

@klauspost
Copy link
Copy Markdown
Contributor

When starting health checks, do a single check before starting the async health checker to set the initial state of the client.

Fixes #1840

Also minor bonus, that you cannot accidentally start two if status is offline.

When starting health checks, do a single check before starting the async health checker to set the initial state of the client.

Fixes minio#1840

Also minor bonus, that you cannot accidentally start two if status is offline.
@harshavardhana harshavardhana merged commit 691ae87 into minio:master Jun 20, 2023
@klauspost klauspost deleted the healthcheck-do-initial-state branch June 20, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HealthCheck never returns an error

3 participants