]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw admin: add tenant argument to reshard cancel 27603/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 11 Mar 2019 14:09:03 +0000 (15:09 +0100)
committerPrashant D <pdhange@redhat.com>
Tue, 16 Apr 2019 03:43:56 +0000 (23:43 -0400)
Looks like we ignore the tenant argument for reshard cancel as mentioned in the
issue.

Fixes: https://tracker.ceph.com/issues/38214
Reported-by: Ed Fisher <ed@debacle.org>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit ff64af392429ebb4e601f048307ff744cefaaa43)

src/rgw/rgw_admin.cc

index 1bd89a59a1e538353bccddccc24d7730402155f7..2070c9ffcee228d063d206f42516629d61746912 100644 (file)
@@ -6269,7 +6269,7 @@ next:
     RGWReshard reshard(store);
 
     cls_rgw_reshard_entry entry;
-    //entry.tenant = tenant;
+    entry.tenant = tenant;
     entry.bucket_name = bucket_name;
     //entry.bucket_id = bucket_id;