]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/multisite: store the bucket instance info in the new bucket entrypoint in case
authorShilpa Jagannath <smanjara@redhat.com>
Tue, 25 Apr 2023 21:27:45 +0000 (17:27 -0400)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Thu, 14 Sep 2023 14:07:21 +0000 (21:07 +0700)
of archive zone.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 81728eeade9d2d12217242b3c5399b02106ea082)

src/rgw/driver/rados/rgw_bucket.cc

index 70e5581b1f122ba1a5414edda7fc3af7cdccf7fa..a83e5fba808782f90bab3ccbda39e584387a3b11 100644 (file)
@@ -1863,7 +1863,7 @@ public:
 
     new_be.bucket.name = new_bucket_name;
 
-    ret = ctl.bucket->store_bucket_instance_info(be.bucket, new_bi, y, dpp, RGWBucketCtl::BucketInstance::PutParams()
+    ret = ctl.bucket->store_bucket_instance_info(new_be.bucket, new_bi, y, dpp, RGWBucketCtl::BucketInstance::PutParams()
                                                                     .set_exclusive(false)
                                                                     .set_mtime(orig_mtime)
                                                                     .set_attrs(&attrs_m)