Project

General

Profile

Actions

Enhancement #79692

open
OO OO

rgw/multisite: periodically re-resolve zone endpoint hostnames

Enhancement #79692: rgw/multisite: periodically re-resolve zone endpoint hostnames

Added by Oguzhan Ozmen 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

This one extends the earlier Feature #74677 - rgw/multisite: Improve load distribution when zone endpoints use DNS service discovery

This one is opened to follow-up on the TODO item at "rgw_rest_conn.cc
-> RGWRESTConn::resolve_endpoints()":https://github.com/ceph/ceph/blob/0d30e68c7b51741073e8e8333b7df9ee1bbaf76b/src/rgw/rgw_rest_conn.cc#L16

  // 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.

Briefly, RGWRESTConn resolves each configured zone endpoint into its A/AAAA records once, when the connection is constructed at process startup, and keeps that address set for the lifetime of the process (RGWRESTConn::resolve_endpoints()).

Proposal: re-resolve endpoint hostnames in the background once their addresses are older than a configurable interval, instead of only at startup.

No data to display

Actions

Also available in: PDF Atom