]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw admin: add tenant argument to reshard cancel 27992/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 11 Mar 2019 14:09:03 +0000 (15:09 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 7 May 2019 07:54:24 +0000 (09:54 +0200)
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 1fcdba04c65e4337cb42f1c49469b67f65b7295d..d2b459999df241a4098b3a4ee29be8e5f108fb11 100644 (file)
@@ -6093,7 +6093,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;