converge listBuckets() as a peer call (#16346)

This commit is contained in:
Harshavardhana
2023-01-03 23:39:40 -08:00
committed by GitHub
parent 14d29b77ae
commit a15a2556c3
5 changed files with 134 additions and 62 deletions

View File

@@ -235,6 +235,10 @@ func listAllBuckets(ctx context.Context, storageDisks []StorageAPI, healBuckets
// we ignore disk not found errors
return nil
}
if storageDisks[index].Healing() != nil {
// we ignore disks under healing
return nil
}
volsInfo, err := storageDisks[index].ListVols(ctx)
if err != nil {
return err