diff --git a/cmd/erasure-server-pool-decom.go b/cmd/erasure-server-pool-decom.go index fda8401c6..418f2570d 100644 --- a/cmd/erasure-server-pool-decom.go +++ b/cmd/erasure-server-pool-decom.go @@ -845,7 +845,7 @@ func (z *erasureServerPools) decommissionPool(ctx context.Context, idx int, pool // to decommission, just skip it, this also includes // any other versions that have already expired. remainingVersions := len(fivs.Versions) - expired - if version.Deleted && remainingVersions == 1 { + if version.Deleted && remainingVersions == 1 && rcfg == nil { decommissioned++ stopFn(version.Size, errors.New("DELETE marked object with no other non-current versions will be skipped")) continue