mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
List only objects that need healing (#2546)
This commit is contained in:
committed by
Harshavardhana
parent
e1b0985b5b
commit
200d327737
@@ -134,7 +134,7 @@ func xlLatestMetadata(partsMetadata []xlMetaV1, errs []error) (latestMeta xlMeta
|
||||
func xlShouldHeal(partsMetadata []xlMetaV1, errs []error) bool {
|
||||
modTime := commonTime(listObjectModtimes(partsMetadata, errs))
|
||||
for index := range partsMetadata {
|
||||
if errs[index] == errFileNotFound {
|
||||
if errs[index] == errDiskNotFound {
|
||||
return true
|
||||
}
|
||||
if errs[index] != nil {
|
||||
|
||||
Reference in New Issue
Block a user