summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_redis_driver.h
diff options
context:
space:
mode:
authorSamarah <samarah.uriarte@ibm.com>2023-06-19 20:00:16 +0200
committerPritha Srivastava <prsrivas@redhat.com>2024-04-02 17:54:50 +0200
commit784fb41208b5efc65e16aad063a92c9c332690d2 (patch)
tree4a9785908cf53db84f101eac9dcb34795e12e7aa /src/rgw/rgw_redis_driver.h
parentRGW: Fix rgw crash issue (diff)
downloadceph-784fb41208b5efc65e16aad063a92c9c332690d2.tar.xz
ceph-784fb41208b5efc65e16aad063a92c9c332690d2.zip
RGW: move CacheDriver instance to D4N Filter
Signed-off-by: Samarah <samarah.uriarte@ibm.com>
Diffstat (limited to 'src/rgw/rgw_redis_driver.h')
-rw-r--r--src/rgw/rgw_redis_driver.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rgw/rgw_redis_driver.h b/src/rgw/rgw_redis_driver.h
index b92c191e27b..af7c34a299d 100644
--- a/src/rgw/rgw_redis_driver.h
+++ b/src/rgw/rgw_redis_driver.h
@@ -34,10 +34,7 @@ class RedisDriver : public CacheDriver {
std::optional<Entry> get_entry(const DoutPrefixProvider* dpp, std::string key);
public:
- RedisDriver(Partition& _partition_info, std::string host, int port) : CacheDriver() {
- addr.host = host;
- addr.port = port;
- }
+ RedisDriver() : CacheDriver() {}
virtual int initialize(CephContext* cct, const DoutPrefixProvider* dpp) override;
virtual int put(const DoutPrefixProvider* dpp, const std::string& key, bufferlist& bl, uint64_t len, rgw::sal::Attrs& attrs) override;