]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/d4n: fix deprecated async_run overload in RedisPool 68834/head
authorKefu Chai <k.chai@proxmox.com>
Sat, 9 May 2026 06:39:17 +0000 (14:39 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sat, 9 May 2026 06:41:21 +0000 (14:41 +0800)
commitfad8e86eb26709b792f650c81926c15978b28987
treeec5b2347ed21fd54bbad061aaa92a720e90e3398
parent3295cda6e7d65d65db4bdec012c2b52f9a2daaf1
rgw/d4n: fix deprecated async_run overload in RedisPool

The async_run overload taking a logger argument is deprecated since
Boost 1.89. Use the 2-arg async_run(config, token) overload when
building with Boost >= 1.89, and fall back to the 3-arg overload
for Boost 1.87-1.88.

See https://www.boost.org/doc/libs/1_89_0/libs/redis/doc/html/redis/reference/boost/redis/basic_connection/async_run-04.html

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/rgw/driver/d4n/d4n_directory.h
src/rgw/driver/d4n/rgw_sal_d4n.cc