HealObjects should remove objects without quorum (#7407)

This PR adds a way to list objects without quorum
such that they can purged by `mc admin heal --remove`
This commit is contained in:
Harshavardhana
2019-03-26 14:57:44 -07:00
committed by kannappanr
parent 9629de8230
commit 4a698c731b
5 changed files with 180 additions and 60 deletions

View File

@@ -165,7 +165,7 @@ func disksWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetad
for i, onlineDisk := range onlineDisks {
if onlineDisk == nil {
dataErrs[i] = errDiskNotFound
dataErrs[i] = errs[i]
continue
}