Yes you're right. I have a Global sync rule in the zonegroup:
"sync_from_all": "true",
"sync_from": [],
"redirect_zone": ""
If I need to stop/start the sync after creation I use the command:
radosgw-admin bucket sync enable/disable --bucket=$newbucket
I developed it but clients can create bucket and I have no control on
the bucket if it's created out of my program.
Because of that I'm looking something:
1- Do not sync buckets if its not enabled by me.
2- Sync all the other "sync started" buckets.
Szabo, Istvan (Agoda) <[email protected]>, 31 May 2021 Pzt, 12:11
tarihinde şunu yazdı:
>
> Bucket is created but if no sync rule set, the data will not be synced across.
>
> Istvan Szabo
> Senior Infrastructure Engineer
> ---------------------------------------------------
> Agoda Services Co., Ltd.
> e: [email protected]
> ---------------------------------------------------
>
> -----Original Message-----
> From: mhnx <[email protected]>
> Sent: Monday, May 31, 2021 4:07 PM
> To: Ceph Users <[email protected]>
> Subject: [Suspicious newsletter] [ceph-users] Bucket creation on RGW
> Multisite env.
>
> Hello.
>
> I have a multisite RGW environment.
> When I create a new bucket, the bucket is directly created on master and
> secondary.
> If I don't want to sync a bucket, I need to stop sync after creation.
> Is there any global option as "Do not sync directly, only start if I want to"
> ?
> _______________________________________________
> ceph-users mailing list -- [email protected] To unsubscribe send an email to
> [email protected]
>
> ________________________________
> This message is confidential and is for the sole use of the intended
> recipient(s). It may also be privileged or otherwise protected by copyright
> or other legal rules. If you have received it by mistake please let us know
> by reply email and delete it from your system. It is prohibited to copy this
> message or disclose its content to anyone. Any confidentiality or privilege
> is not waived or lost by any mistaken delivery or unauthorized disclosure of
> the message. All messages sent to and from Agoda may be monitored to ensure
> compliance with company policies, to protect the company's interests and to
> remove potential malware. Electronic messages may be intercepted, amended,
> lost or deleted, or contain viruses.
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]