From: Oguzhan Ozmen Date: Wed, 3 Jun 2026 16:37:15 +0000 (+0000) Subject: rgw/rest: add TODO for concurrent endpoint DNS resolution X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7d62871ba48488494f09f650e6cae99fbe704b59;p=ceph.git rgw/rest: add TODO for concurrent endpoint DNS resolution Signed-off-by: Oguzhan Ozmen --- diff --git a/src/rgw/rgw_rest_conn.cc b/src/rgw/rgw_rest_conn.cc index ce3425f6e8c..6beb262e84a 100644 --- a/src/rgw/rgw_rest_conn.cc +++ b/src/rgw/rgw_rest_conn.cc @@ -13,6 +13,11 @@ using namespace std; void RGWRESTConn::resolve_endpoints() { + // TODO: resolve endpoints concurrently using async_resolve on a shared io_context. + // In practice zones have a single endpoint or at most a handful of individual + // RGW instances, and resolution runs once at process startup, so sequential + // cost is negligible. A natural time to address this would be when adding + // periodic DNS re-resolution. for (auto& res_ep : resolved_endpoints) { const std::string& ep_url = res_ep.url; // parse URL