]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
the current connection setup is single and shared connection, the strand on that...
authorgal salomon <gsalomon@li-8bb82fcc-354a-11b2-a85c-8eb2daf56065.ibm.com>
Wed, 11 Jun 2025 18:05:03 +0000 (21:05 +0300)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 26 Aug 2025 04:17:39 +0000 (09:47 +0530)
commit1ac08d30d1913fd99722689fa3cc1a0a5b73bd13
treeae57894d98d7e47ab0458d82811fa5c986bebb2c
parentd1bd77e4c5e42c5270c6eb249c33e5753a90b2ec
the current connection setup is single and shared connection, the strand on that single connection may cause a serialization.
it should be noted that per s3-request there are several redis-operation that may run on co-routine.
the redis-connection pool implement the guarded acquire/release APIs.

adding configuration : rgw_redis_connection_pool_size.
re-factor of redis-exec* function.

shared pointer for Redis connection pool

adding branch predication optimization for redis-pool/single-shared-connection condition

adding a warning-report-method for the case there is a blocking state upon empty connection pool.

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
src/common/options/rgw.yaml.in
src/rgw/driver/d4n/d4n_directory.cc
src/rgw/driver/d4n/d4n_directory.h
src/rgw/driver/d4n/rgw_sal_d4n.cc
src/rgw/driver/d4n/rgw_sal_d4n.h