]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/dbstore: correcting merge_and_store_attrs to store attrs
authorPritha Srivastava <prsrivas@redhat.com>
Fri, 5 Apr 2024 05:06:42 +0000 (10:36 +0530)
committerCasey Bodley <cbodley@redhat.com>
Tue, 25 Feb 2025 16:44:42 +0000 (11:44 -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 d6ee772bc2e72f84f2fef7d08acdf11b31e457a0..f97316c28f73208273d0bb40ac28447f5888ef0c 100644 (file)
@@ -269,7 +269,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;
   }