mirror of https://github.com/minio/minio.git
Revert "remove dataErrs from er.deleteIfDangling code"
This reverts commit 7d75b1e758
.
This fails multipart tests we need this code to handle
existing challenges, so wait for the comprehensive fix.
This commit is contained in:
parent
597a785253
commit
9d20dec56a
|
@ -412,7 +412,7 @@ func (er *erasureObjects) healObject(ctx context.Context, bucket string, object
|
|||
if !latestMeta.XLV1 && !latestMeta.Deleted && disksToHealCount > latestMeta.Erasure.ParityBlocks {
|
||||
// Allow for dangling deletes, on versions that have DataDir missing etc.
|
||||
// this would end up restoring the correct readable versions.
|
||||
m, err := er.deleteIfDangling(ctx, bucket, object, partsMetadata, errs, nil, ObjectOptions{
|
||||
m, err := er.deleteIfDangling(ctx, bucket, object, partsMetadata, errs, dataErrs, ObjectOptions{
|
||||
VersionID: versionID,
|
||||
})
|
||||
errs = make([]error, len(errs))
|
||||
|
|
Loading…
Reference in New Issue