]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/dbstore: correcting merge_and_store_attrs to store attrs 61996/head
authorPritha Srivastava <prsrivas@redhat.com>
Fri, 5 Apr 2024 05:06:42 +0000 (10:36 +0530)
committerCasey Bodley <cbodley@redhat.com>
Wed, 26 Feb 2025 14:29:44 +0000 (09:29 -0500)
in place of new_attrs.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 5c7d47af5577389d00fc81e455669328ba7ac224)

src/rgw/rgw_sal_dbstore.cc

index ca1b3f33396ac3d620f0527615afe82ba872af8e..10867d3e28897575225d0d87442197b4bc72af24 100644 (file)
@@ -368,7 +368,7 @@ namespace rgw::sal {
 
     /* XXX: handle has_instance_obj like in set_bucket_instance_attrs() */
 
-    ret = store->getDB()->update_bucket(dpp, "attrs", info, false, nullptr, &new_attrs, nullptr, &get_info().objv_tracker);
+    ret = store->getDB()->update_bucket(dpp, "attrs", info, false, nullptr, &attrs, nullptr, &get_info().objv_tracker);
 
     return ret;
   }