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-le...@ceph.io

Reply via email to