Skip to content
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

report heal drives properly, also from global state #10561

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

harshavardhana
Copy link
Member

Description

report heal drives properly, also from global state

Motivation and Context

It is possible the heal drives are not reported from
the maintenance check because the background heal
state simply relied on the format.json for capturing
unformatted drives. It is possible that drives might
be still healing - make sure that applications which
rely on cluster health check respond back this detail.

How to test this PR?

Test this by replacing drives and restarting MinIO,
observe that we may potentially never say 412 when
drive is being healed.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression yes perhaps introduced while fixing a different bug b0e1d4c
  • Documentation needed
  • Unit tests needed

It is possible the heal drives are not reported from
the maintenance check because the background heal
state simply relied on the `format.json` for capturing
unformatted drives. It is possible that drives might
be still healing - make sure that applications which
rely on cluster health check respond back this detail.
@minio-trusted
Copy link
Contributor

Mint Automation

Test Result
mint-large-bucket.sh ✔️
mint-fs.sh ✔️
mint-gateway-s3.sh ✔️
mint-gateway-azure.sh ✔️
mint-erasure.sh ✔️
mint-dist-erasure.sh ✔️
mint-zoned.sh ✔️
mint-gateway-nas.sh ✔️
Deleting image on docker hub
Deleting image locally
Error: No such image: minio/minio:10561-5293edb

@harshavardhana harshavardhana merged commit 3cac262 into minio:master Sep 24, 2020
@harshavardhana harshavardhana deleted the report-heal-drives branch September 24, 2020 22:36
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.

None yet

3 participants