]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Read `sync status` from only the zones allowed to sync from 53396/head
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:30:14 +0000 (18:30 +0300)
commitba3267d78928a03dec8eaa6e1f95108a45d8d930
treec17873b4f2504eccc1238a3702ba4c516ecc4b94
parent7cb03b2009794d5f25e1e5f8200079a2f1bf4017
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)

Conflicts:
src/rgw/rgw_admin.cc (trivial: store vs driver)
src/rgw/rgw_admin.cc
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h