Issue with Filter in Lifecycle policy
Hi everyone, I'm trying to set a lifecycle policy to change the storage class of objects based on their size. Here's the rule I'm using:
{ "Rules": [ { "ID": "migrating storage class", "Filter": { "ObjectSizeGreaterThan": 10000000 }, "Status": "Enabled", "Transitions": [ { "Days": 0, "StorageClass": "REPLICATED" } ] } ] }
The issue is that the rule seems to be applying to all objects, regardless of their size. Is the ObjectSizeGreaterThan filter supported in Ceph, or am I missing something in the configuration? Thanks for your help! Best regards, Mahnoosh
Hello, That support was implement in this PR [1]. It looks like it's not yet released in any of the available Ceph releases when searching for that in the release notes [2] but maybe I'm missing something. /Tobias [1] https://github.com/ceph/ceph/pull/54152 [2] https://docs.ceph.com/en/latest/releases/#active-releases On Wed, Oct 23, 2024 at 01:08:47PM UTC, mahnoosh shahidi wrote:
Hi everyone,
I'm trying to set a lifecycle policy to change the storage class of objects based on their size. Here's the rule I'm using:
{ "Rules": [ { "ID": "migrating storage class", "Filter": { "ObjectSizeGreaterThan": 10000000 }, "Status": "Enabled", "Transitions": [ { "Days": 0, "StorageClass": "REPLICATED" } ] } ] }
The issue is that the rule seems to be applying to all objects, regardless of their size. Is the ObjectSizeGreaterThan filter supported in Ceph, or am I missing something in the configuration?
Thanks for your help!
Best regards, Mahnoosh _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
mahnoosh shahidi
-
Tobias Urdin