]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/multisite: store the bucket instance info in the new bucket entrypoint in case 51219/head
authorShilpa Jagannath <smanjara@redhat.com>
Tue, 25 Apr 2023 21:27:45 +0000 (17:27 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 25 Apr 2023 21:36:46 +0000 (17:36 -0400)
of archive zone.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
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)