mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05: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
|
||||
}
|
||||
|
||||
if notFoundPartsErrs > 0 && notFoundPartsErrs >= quorum {
|
||||
if !validMeta.IsRemote() && notFoundPartsErrs > 0 && notFoundPartsErrs >= quorum {
|
||||
// All data-dir is beyond data blocks missing, this is dangling
|
||||
return validMeta, true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user