]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: initialize bucket structure
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 23 May 2017 00:10:07 +0000 (17:10 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 5 Jun 2017 20:17:56 +0000 (13:17 -0700)
after reading bucket info

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_reshard.cc

index 450a9a31b3c5c532ec9d1e8e8eeae4957dc6b666..8a8791e2738010c013ea5ddada0ebaf31a0d7af1 100644 (file)
@@ -702,6 +702,7 @@ int RGWReshard::process_single_logshard(int logshard_num)
          ldout(cct, 0) <<  __func__ << ": Error in get_bucket_info: " << cpp_strerror(-ret) << dendl;
          return -ret;
        }
+        bucket = bucket_info.bucket;
 
        RGWBucketInfo new_bucket_info(bucket_info);
        ret = create_new_bucket_instance(store, entry.new_num_shards, bucket_info, attrs,