]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: clean-up is_master_zonegroup() instead of is_meta_master() 16062/head
authorFan Yang <yangf@neunn.com>
Mon, 3 Jul 2017 02:08:51 +0000 (10:08 +0800)
committerFan Yang <yangf@neunn.com>
Mon, 3 Jul 2017 02:08:51 +0000 (10:08 +0800)
Signed-off-by: Fan Yang <yangf@neunn.com>
src/rgw/rgw_op.cc

index 20eada8ed1950cede410c6b4d2bdf0ffd6c77008..ac1bc44cc8434911fc617f6f81b9a4593a2a15b9 100644 (file)
@@ -5670,7 +5670,7 @@ bool RGWBulkDelete::Deleter::delete_single(const acct_path_t& path)
       goto delop_fail;
     }
 
-    if (!store->get_zonegroup().is_master_zonegroup()) {
+    if (!store->is_meta_master()) {
       bufferlist in_data;
       ret = forward_request_to_master(s, &ot.read_version, store, in_data,
                                       nullptr);