Skip to content

Commit

Permalink
Merge pull request #16062 from YangFanlinux/myceph1
Browse files Browse the repository at this point in the history
rgw: Replace get_zonegroup().is_master_zonegroup() with is_meta_master() in RGWBulkDelete::Deleter::delete_single()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Jul 7, 2017
2 parents c649d57 + 5bbb557 commit a64ced7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_op.cc
Expand Up @@ -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);
Expand Down

0 comments on commit a64ced7

Please sign in to comment.