From: caishan Date: Fri, 11 Feb 2022 09:47:35 +0000 (+0800) Subject: Fix rgw data sync log info error X-Git-Tag: v18.0.0~1378^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4bd9a68fe83447312a01a6e8688e388704aa27d8;p=ceph.git Fix rgw data sync log info error Signed-off-by: caishan --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 1e988d4ce33f1..e9bc1dd7b9c5d 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -4713,7 +4713,7 @@ int RGWRunBucketSyncCoroutine::operate(const DoutPrefixProvider *dpp) yield call(new RGWSyncGetBucketInfoCR(sync_env, sync_pair.dest_bs.bucket, &sync_pipe.dest_bucket_info, &sync_pipe.dest_bucket_attrs, tn)); if (retcode < 0) { - tn->log(0, SSTR("ERROR: failed to retrieve bucket info for bucket=" << bucket_str{sync_pair.source_bs.bucket})); + tn->log(0, SSTR("ERROR: failed to retrieve bucket info for bucket=" << bucket_str{sync_pair.dest_bs.bucket})); drain_all(); return set_cr_error(retcode); }