|
|
@ -165,7 +165,7 @@ func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []BucketIn |
|
|
|
} |
|
|
|
} |
|
|
|
waitForLowHTTPReq(globalHealConfig.IOCount, globalHealConfig.Sleep) |
|
|
|
waitForLowHTTPReq(globalHealConfig.IOCount, globalHealConfig.Sleep) |
|
|
|
for _, version := range fivs.Versions { |
|
|
|
for _, version := range fivs.Versions { |
|
|
|
if _, err := er.HealObject(ctx, bucket.Name, version.Name, version.VersionID, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true}); err != nil { |
|
|
|
if _, err := er.HealObject(ctx, bucket.Name, version.Name, version.VersionID, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: healDeleteDangling}); err != nil { |
|
|
|
if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) { |
|
|
|
if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) { |
|
|
|
logger.LogIf(ctx, err) |
|
|
|
logger.LogIf(ctx, err) |
|
|
|
} |
|
|
|
} |
|
|
|