mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
Fixes incorrect application of ilm expiry rules on versioned objects when replication is enabled. Regression from https://github.com/minio/minio/pull/20441 which sends DeleteObject calls to all pools. This is a problem for replication + ilm scenario since replicated version can end up in a pool by itself instead of pool where remaining object versions reside. For example, if the delete marker is set on pool1 and object versions exist on pool2, the second rule below will cause the delete marker to be expired by ilm policy since it is the single version present in pool1 ``` { "Rules": [ { "ID": "cs6il1ri2hp48g71mdjg", "NoncurrentVersionExpiration": { "NoncurrentDays": 14 }, "Status": "Enabled" }, { "Expiration": { "ExpiredObjectDeleteMarker": true }, "ID": "cs6inj3i2hp4po19cil0", "Status": "Enabled" } ] } ```
89 KiB
89 KiB