]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Read `sync status` from only the zones allowed to sync from
authorSoumya Koduri <skoduri@redhat.com>
Wed, 5 Jul 2023 12:15:39 +0000 (17:45 +0530)
committerMykola Golub <mgolub@suse.com>
Mon, 11 Sep 2023 15:24:20 +0000 (18:24 +0300)
commit68e0db451c08e5d387efcf7eeb1650c8cd5dc943
tree9889841b6ad4d43d135c0e7d568dfc5a7323e665
parenta0a6788f5b1eca69b75063efec8ac31f3eb17d64
rgw: Read `sync status` from only the zones allowed to sync from

Using multisite sync policy, zones within a zonegroup can be configured
not to sync from certain zones. Filter such zones while reading sync
status.

Fixes: https://tracker.ceph.com/issues/62014
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit 094460c26b8fdd9a72667800b54a0cfaa5409c88)
src/rgw/rgw_admin.cc
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h