]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: bucket_id does not include bucket name
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 24 May 2017 23:58:19 +0000 (16:58 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 5 Jun 2017 20:17:55 +0000 (13:17 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_reshard.cc

index d607e61a27f0a7e92e17551d9f35f4807446d357..450a9a31b3c5c532ec9d1e8e8eeae4957dc6b666 100644 (file)
@@ -711,11 +711,11 @@ int RGWReshard::process_single_logshard(int logshard_num)
          return ret;
        }
 
-       entry.new_instance_id = entry.bucket_name + ":" + new_bucket_info.bucket.bucket_id;
+       entry.new_instance_id = new_bucket_info.bucket.bucket_id;
 
        ret = add(entry);
        if (ret < 0) {
-         ldout(cct, 0) << __func__ << ":Error in updateing entry bucket " << entry.bucket_name << ": " <<
+         ldout(cct, 0) << __func__ << ":Error in updating entry bucket " << entry.bucket_name << ": " <<
            cpp_strerror(-ret) << dendl;
          return ret;
        }