Re: Issue with Filter in Lifecycle policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux