mirror of
https://github.com/minio/minio.git
synced 2025-04-20 02:27:50 -04:00
Add defensive code to ignore checking parts with transitioned objects (#18973)
Though dataErrs are nil with transitioned objects, add a more defensive code to ignore counting missing parts in that case
This commit is contained in:
parent
fec13b0ec1
commit
ba975ca320
@ -978,7 +978,7 @@ func isObjectDangling(metaArr []FileInfo, errs []error, dataErrs []error) (valid
|
|||||||
return validMeta, true
|
return validMeta, true
|
||||||
}
|
}
|
||||||
|
|
||||||
if notFoundPartsErrs > 0 && notFoundPartsErrs >= quorum {
|
if !validMeta.IsRemote() && notFoundPartsErrs > 0 && notFoundPartsErrs >= quorum {
|
||||||
// All data-dir is beyond data blocks missing, this is dangling
|
// All data-dir is beyond data blocks missing, this is dangling
|
||||||
return validMeta, true
|
return validMeta, true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user