do not list buckets without local quorum (#20852)

ListBuckets() would result in listing buckets
without quorum, this PR fixes the behavior.
This commit is contained in:
Harshavardhana
2025-01-19 15:13:17 -08:00
committed by GitHub
parent 3d0f513ee2
commit 779ec8f0d4
5 changed files with 54 additions and 34 deletions
+3 -2
View File
@@ -101,8 +101,6 @@ type VolsInfo []VolInfo
// VolInfo - represents volume stat information.
// The above means that any added/deleted fields are incompatible.
//
// The above means that any added/deleted fields are incompatible.
//
//msgp:tuple VolInfo
type VolInfo struct {
// Name of the volume.
@@ -110,6 +108,9 @@ type VolInfo struct {
// Date and time when the volume was created.
Created time.Time
// total VolInfo counts
count int
}
// FilesInfo represent a list of files, additionally