]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw-admin: fix data sync report for master zone 23925/head
authorcfanz <songxinying@sensetime.com>
Wed, 5 Sep 2018 02:57:35 +0000 (10:57 +0800)
committercfanz <songxinying@sensetime.com>
Wed, 5 Sep 2018 02:57:35 +0000 (10:57 +0800)
Signed-off-by: cfanz <songxinying@sensetime.com>
src/rgw/rgw_data_sync.cc

index 246f67b24e2bb34393a0b1808a99210de76d6fa9..9d80bf9fa02aca29d14d92f53a66b798040d83de 100644 (file)
@@ -651,10 +651,6 @@ int RGWRemoteDataLog::read_source_log_shards_info(map<int, RGWDataChangesLogInfo
 
 int RGWRemoteDataLog::read_source_log_shards_next(map<int, string> shard_markers, map<int, rgw_datalog_shard_data> *result)
 {
-  if (store->is_meta_master()) {
-    return 0;
-  }
-
   return run(new RGWListRemoteDataLogCR(&sync_env, shard_markers, 1, result));
 }