Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@harshavardhana
Copy link
Member

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.

Description

do not list buckets without local quorum

Motivation and Context

ListBuckets() would result in listing buckets
without a quorum, this PR fixes the behavior.

How to test this PR?

minio server /tmp/xl{1,2,3,4}
mc mb myminio/testbucket
mc ls myminio/
... testbucket/
rm -rf /tmp/xl{1,2,3}
mc ls myminio (must be empty)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

ListBuckets() would result in listing buckets
without quorum, this PR fixes the behavior.
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@harshavardhana harshavardhana merged commit 779ec8f into minio:master Jan 19, 2025
22 checks passed
@harshavardhana harshavardhana deleted the fix-bucket-quorum branch January 19, 2025 23:13
harshavardhana added a commit that referenced this pull request Mar 17, 2025
ListBuckets() would result in listing buckets
without quorum, this PR fixes the behavior.
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.

2 participants