mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
drive heal if we have enough success, do not error setList() (#516)
This commit is contained in:
@@ -539,7 +539,8 @@ func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []string,
|
||||
go healEntry(bucket, *entry)
|
||||
},
|
||||
finished: func(errs []error) {
|
||||
if countErrs(errs, nil) != len(errs) {
|
||||
success := countErrs(errs, nil)
|
||||
if success < expectedDisks {
|
||||
retErr = fmt.Errorf("one or more errors reported during listing: %v", errors.Join(errs...))
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user