Re: [multisite] How to trigger metadata sync update?

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

 



Hi Shilpa, 

Thanks for the tip. I will look through the code that uses this function to get more ideas. I am currently prototyping an idea to apply redirect_zone at bucket level. 

Thanks, 
Yixin


On Wed., May 17, 2023 at 5:12 p.m., Shilpa Manjrabad Jagannath
<smanjara@xxxxxxxxxx> wrote:
Hi Yixin,

Any metadata change will internally call forward_request_to_master() to write the changes on the metadata master zone first and then it is applied on other zones. 
What kind of data item are you trying to add?

-shilpa

On Wed, May 17, 2023 at 4:49 PM Yixin Jin <yjin77@xxxxxxxx> wrote:
Hi folks,

I desperately need some help to figure out how to trigger metadata sync update in a multisite environment. I'd like to change any data item in RGWBucketInfo at the master zone and want the other zones to pick up the changes. I have tried to use rgw::sal::Bucket::put_info() and RGWBucketCtl::store_bucket_instance_info(). Either approach only updates the local bucket info and the other zones do not pick up the updates. What am I missing? Could someone please show me an example on how to trigger sync update?

Thanks a lot,
Yixin

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx


_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux