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
fix: storage info output with unordered endpoints arguments #9610
Merged
harshavardhana
merged 2 commits into
minio:master
from
vadmeste:fix-when-endpoints-unordered
May 19, 2020
Merged
fix: storage info output with unordered endpoints arguments #9610
harshavardhana
merged 2 commits into
minio:master
from
vadmeste:fix-when-endpoints-unordered
May 19, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
harshavardhana
requested changes
May 15, 2020
vadmeste
force-pushed
the
fix-when-endpoints-unordered
branch
2 times, most recently
from
May 15, 2020 17:32
c0d8e10
to
50b1746
Compare
Shuffling arguments that we pass to MinIO server is supported. However, when that happens, prometheus returns wrong information about disks usage and online/offline status. The commit fixes the issue by avoiding relying on xl.endpoints since it is not ordered.
vadmeste
force-pushed
the
fix-when-endpoints-unordered
branch
from
May 15, 2020 19:47
50b1746
to
8948520
Compare
harshavardhana
approved these changes
May 15, 2020
Mint Automation
9610-412b0db/mint-gateway-nas.sh.log:
9610-412b0db/mint-fs.sh.log:
Deleting image on docker hub |
donatello
approved these changes
May 19, 2020
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.
LGTM
harshavardhana
changed the title
xl: Fix storage info output with unordered endpoints arguments
fix: storage info output with unordered endpoints arguments
May 19, 2020
blaenk
pushed a commit
to blaenk/minio
that referenced
this pull request
Aug 26, 2020
Shuffling arguments that we pass to MinIO server are supported. However, when that happens, Prometheus returns wrong information about disks usage and online/offline status. The commit fixes the issue by avoiding relying on xl.endpoints since it is not ordered.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Shuffling arguments that we pass to MinIO server is supported. However,
when that happens, prometheus returns wrong information about disks usage
and online/offline status.
The commit fixes the issue by avoiding relying on xl.endpoints since
it is not ordered.
Motivation and Context
Fixes #9512
How to test this PR?
export MINIO_PROMETHEUS_AUTH_TYPE="public"
curl http://localhost:9002/minio/prometheus/metrics 2>/dev/null | grep minio_disk | grep -v '^#'
Types of changes
Checklist:
commit-id
orPR #
here)