mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
fix: remove objects when there are skipped versions due to ILM in decom (#17198)
This commit is contained in:
parent
f5a20a5d06
commit
883c98e26f
@ -774,7 +774,7 @@ func (z *erasureServerPools) decommissionPool(ctx context.Context, idx int, pool
|
||||
for _, version := range fivs.Versions {
|
||||
// Apply lifecycle rules on the objects that are expired.
|
||||
if filterLifecycle(bi.Name, version.Name, version) {
|
||||
logger.LogIf(ctx, fmt.Errorf("found %s/%s (%s) expired object based on ILM rules, skipping and scheduled for deletion", bi.Name, version.Name, version.VersionID))
|
||||
decommissionedCount++
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user