]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/zone: remove duplicated startup logic in RGWSI_Zone 63266/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 13 May 2025 13:42:32 +0000 (09:42 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 13 May 2025 13:51:43 +0000 (09:51 -0400)
commit17805489404760c8fa45caa71786058a3984ed0d
tree5f9f411fa9c7e71f5c89a3708f6bb8089c5c662f
parent53e32489fb72b7e12c93b7c413dee198cc1fbae5
rgw/zone: remove duplicated startup logic in RGWSI_Zone

SiteConfig had already loaded the correct configuration without all of
the crazy search_realm_with_zone() stuff which is now confused by
defaults. remove all of this duplicated logic and rely on SiteConfig

removes functions search_realm_with_zone() create_default_zg() and
init_default_zone() which are no longer used

Fixes: https://tracker.ceph.com/issues/71291
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h