From: Oguzhan Ozmen Date: Fri, 19 Dec 2025 02:25:55 +0000 (+0000) Subject: rgw: add rgw_resolve_endpoints_into_all_addresses config option X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d989ef7b688d371d60c99afaaf5ef2e4288d019a;p=ceph.git rgw: add rgw_resolve_endpoints_into_all_addresses config option Introduce an advanced boolean config option (default: false) to enable resolving multisite endpoint hostnames into all A/AAAA records. When enabled, RGW can distribute outgoing inter-zone traffic across DNS-provided backends even without an external load balancer. Signed-off-by: Oguzhan Ozmen --- diff --git a/src/common/options/rgw.yaml.in b/src/common/options/rgw.yaml.in index 6e50726457d..2d1c4cb777f 100644 --- a/src/common/options/rgw.yaml.in +++ b/src/common/options/rgw.yaml.in @@ -2065,6 +2065,22 @@ options: services: - rgw with_legacy: true +- name: rgw_rest_conn_connect_to_resolved_ips + type: bool + level: advanced + long_desc: When an RGW endpoint hostname resolves to multiple A or AAAA + records, libcurl normally connects to only the first address returned by + DNS. Enabling this option causes RGW to resolve each configured endpoint + into all of its addresses and distribute outgoing requests across them + using round-robin, with per-IP health tracking. This applies to + multisite replication traffic between zones (via RGWRESTConn). For example, in a + multisite deployment where zone endpoints such as "https://zone-a.example.com" + map to several backend RGW nodes, this allows inter-zone traffic to be spread + across all peers without requiring an external load balancer. + default: false + services: + - rgw + with_legacy: true - name: rgw_obj_stripe_size type: size level: advanced