mirror of
https://github.com/minio/minio.git
synced 2025-02-23 03:22:30 -05:00
fix: multiple pool setup return incorrect DeleteMarker metadata (#14642)
This commit is contained in:
parent
9ff25fb64b
commit
7956ff0313
@ -820,6 +820,11 @@ func (z *erasureServerPools) getLatestObjectInfoWithIdx(ctx context.Context, buc
|
||||
// should be returned upwards.
|
||||
return res.oi, res.zIdx, err
|
||||
}
|
||||
// When its a delete marker and versionID is empty
|
||||
// we should simply return the error right away.
|
||||
if res.oi.DeleteMarker && opts.VersionID == "" {
|
||||
return res.oi, res.zIdx, err
|
||||
}
|
||||
}
|
||||
|
||||
object = decodeDirObject(object)
|
||||
|
Loading…
x
Reference in New Issue
Block a user