]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RGW - Zipper - Make Zone generic
authorDaniel Gryniewicz <dang@redhat.com>
Mon, 1 Aug 2022 17:58:04 +0000 (13:58 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Tue, 16 Aug 2022 16:31:27 +0000 (12:31 -0400)
commitff1b565887799b80036bceeef133da4cf0a5ee71
treef0f1c2118ce96ca1f274b4164ef5fc158e4a7d6f
parent5a6fb22707fe0391b0cb11f15604e567ad3defe9
RGW - Zipper - Make Zone generic

- RadosStore had a dummy implementation of Zone that just passed through
  to the Zone service to get info about the local zone.  Implement the
  Zone API for real, so that we can reference multiple zones.
- Convert get_id() to string; it was only ever used as a string anyway.
- Add get_zone_by*() to zonegroup and use it apporpriately

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
13 files changed:
src/rgw/rgw_admin.cc
src/rgw/rgw_asio_frontend.cc
src/rgw/rgw_period_pusher.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_sal.h
src/rgw/rgw_sal_dbstore.cc
src/rgw/rgw_sal_dbstore.h
src/rgw/rgw_sal_filter.cc
src/rgw/rgw_sal_filter.h
src/rgw/rgw_sal_motr.cc
src/rgw/rgw_sal_motr.h
src/rgw/rgw_sal_rados.cc
src/rgw/rgw_sal_rados.h