]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: svc.zone: keep policy handler for all zones
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 1 Nov 2019 02:19:58 +0000 (19:19 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 28 Jan 2020 18:20:38 +0000 (10:20 -0800)
commitc185ec8c20470bd769d38a5fb9c1f2fb19f1e058
tree55b86347e4012f8b2cd9d1efbef876569e2ab974
parent9c82276a4f1697bf77185eb5b72cc6417b4cf0fd
rgw: svc.zone: keep policy handler for all zones

So that we can use the correct policy handler when checking source bucket.
Also build list of source zones for data sync out of all potential zones,
and not just the ones that are enabled, because it can be enabled at the
bucket level.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
13 files changed:
src/rgw/rgw_admin.cc
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_bucket_sync.cc
src/rgw/rgw_bucket_sync.h
src/rgw/rgw_cr_tools.cc
src/rgw/rgw_cr_tools.h
src/rgw/rgw_data_sync.cc
src/rgw/services/svc_bucket_sync.h
src/rgw/services/svc_bucket_sync_sobj.cc
src/rgw/services/svc_bucket_sync_sobj.h
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h