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

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

 



Hi Shilpa,

I checked out the calls of "forward_request_to_master()" and noticed that it only serves the purpose of forwarding those requests that came from the external sources, such as S3 clients. The difficulty I have encountered is to make a change in RGWBucketInfo in the master zone and expect that change to be synced up in other zones. The change is made with radosgw-admin, not S3 client. I can see the effect of the change in the master zone via "radosgw-admin bucket stats" but other zones don't show it.

Any other venues I can explore?

Thanks,
Yixin






On Wednesday, May 17, 2023 at 05:12:09 p.m. EDT, 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