Re: lifecycle policy on non-replicated buckets

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

 




On 9/2/24 8:41 PM, Christopher Durham wrote:
  Asking again, does anyone know how to get this working?
I have multisite sync set up between two sites. Due to bandwidth concerns, I have disabled replication on a given bucket that houses temporary data using a multisite sync policy. This works fine.
Most of the writing to this bucket is done on the slave zone.
The bucket has a lifecycle policy set to delete objects after 3 days. But objects on the slave zone never get deleted.
How can I get this to work?


I checked this use-case on the latest main and it seems to be working. Though the replication is disabled on the bucket, the objects are deleted on both the zones as per the lifecycle policy expiration rule set.

Could you check using `s3api get-bucket-lifecycle-configuration` if the bucket has LC rules set on the secondary zone as well. Earlier the LC policies were not being replicated which got addressed later (not sure in which release). If the LC policy is not replicated, user has to manually set LC rules on all the zones for that bucket.


Thanks,

Soumya


Thanks
Chris



     On Friday, July 12, 2024 at 04:30:38 PM MDT, Christopher Durham <caduceus42@xxxxxxx> wrote:

Hi,
I have a multisite system with two sites on 18.2.2, on Rocky 8.

I have set up a sync policy to allow replication between sites. I have also createda policy for a given bucket that prevents replication on that given bucket. This allworks just fine, and objects I create in that bucket on side A do not get replicatedto side B, and objects I create in that bucket on side B do not get replicated to side A, butreplication for all other buckets works fine.

This is great. But I still want to have a lifecycle policy that deletes objects after say, 4 days.
If I create and install the json for this policy, via s3api put-bucket-lifecycle-configuration then only on the master side, side A, do objects get deleted after 4 days. Any objects on side B never get deleted.
What am I doing wrong?
Thanks
-Chris
_______________________________________________
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