]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
d4n/filter: Correct `CacheObj` `hostsList` value so it's empty since the
authorSamarah <samarah.uriarte@ibm.com>
Wed, 20 Dec 2023 20:47:41 +0000 (20:47 +0000)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 2 Apr 2024 15:54:52 +0000 (21:24 +0530)
object isn't being locally cached

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
src/rgw/driver/d4n/rgw_sal_d4n.cc

index e80f1d9c14f09283f6fd3d41a39ddb36d6f2a22b..13e18d7a18b6b02ed93048908075e60ffd797a89 100644 (file)
@@ -897,7 +897,7 @@ int D4NFilterWriter::complete(size_t accounted_size, const std::string& etag,
                                 .bucketName = obj->get_bucket()->get_name(),
                                 .creationTime = to_iso_8601(*mtime), 
                                 .dirty = false,
-                                .hostsList = { driver->get_block_dir()->cct->_conf->rgw_local_cache_address } 
+                                .hostsList = { /*driver->get_block_dir()->cct->_conf->rgw_local_cache_address*/ } //TODO: Object is not currently being cached 
                                };
 
   if (driver->get_obj_dir()->set(&object, y) < 0)