avoid double logging from healing (#17950)

This commit is contained in:
Harshavardhana
2023-08-30 18:46:04 -07:00
committed by GitHub
parent 0ce9e00ffa
commit 9458485e43
3 changed files with 4 additions and 19 deletions

View File

@@ -347,13 +347,6 @@ func disksWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetad
dataErrs[i] = errFileCorrupt
continue
}
// Since erasure.Distribution is trustable we can fix the mismatching erasure.Index
if meta.Erasure.Distribution[i] != meta.Erasure.Index {
partsMetadata[i] = FileInfo{}
dataErrs[i] = errFileCorrupt
continue
}
}
}