From: Orit Wasserman Date: Tue, 7 Nov 2017 13:37:34 +0000 (+0200) Subject: rgw: use tenant when updating the reshard log X-Git-Tag: v12.2.3~208^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=58870ed9111fe3f3e05eadde1fecc8eae7b0eda2;p=ceph.git rgw: use tenant when updating the reshard log Fixes: http://tracker.ceph.com/issues/22046 Signed-off-by: Orit Wasserman (cherry picked from commit 055c0d34394b8274a7e48d4f2e3913c059099898) --- diff --git a/src/rgw/rgw_reshard.cc b/src/rgw/rgw_reshard.cc index a3a712c7672..f5a4b4a2251 100644 --- a/src/rgw/rgw_reshard.cc +++ b/src/rgw/rgw_reshard.cc @@ -620,6 +620,7 @@ int RGWReshard::update(const RGWBucketInfo& bucket_info, const RGWBucketInfo& ne cls_rgw_reshard_entry entry; entry.bucket_name = bucket_info.bucket.name; entry.bucket_id = bucket_info.bucket.bucket_id; + entry.tenant = bucket_info.owner.tenant; int ret = get(entry); if (ret < 0) {