mirror of
https://github.com/minio/minio.git
synced 2025-04-15 16:39:16 -04: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 {
|
for _, version := range fivs.Versions {
|
||||||
// Apply lifecycle rules on the objects that are expired.
|
// Apply lifecycle rules on the objects that are expired.
|
||||||
if filterLifecycle(bi.Name, version.Name, version) {
|
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
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user