mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
rgw-admin: fix data sync report for master zone
Signed-off-by: cfanz <songxinying@sensetime.com>
This commit is contained in:
parent
c4731ec64e
commit
6e3be2461b
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user