]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rest: consolidate endpoint_urls and resolved_endpoints into single vector
authorOguzhan Ozmen <oozmen@bloomberg.net>
Mon, 2 Mar 2026 18:11:27 +0000 (18:11 +0000)
committerOguzhan Ozmen <oozmen@bloomberg.net>
Tue, 2 Jun 2026 22:16:20 +0000 (22:16 +0000)
commit3e310e0c859c4a67296cacfaa9a8849f88789469
treedefd0f81b26b027576189421fdb1ba2f52c30774
parent71af1fc945e78c8f7fa460e3835733ad93a9754a
rgw/rest: consolidate endpoint_urls and resolved_endpoints into single vector

Previously RGWRESTConn stored endpoints in two data structures:
- endpoint_urls: vector<string> for ordered round-robin iteration
- resolved_endpoints: unordered_map<string, ResolvedEndpoint> for lookup

This was redundant since the URL was stored in both places.

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
src/rgw/rgw_rest_conn.cc
src/rgw/rgw_rest_conn.h