]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix rgw data sync log info error 44988/head
authorcaishan <caishan1993@foxmail.com>
Fri, 11 Feb 2022 09:47:35 +0000 (17:47 +0800)
committercaishan <caishan1993@foxmail.com>
Fri, 11 Feb 2022 09:54:18 +0000 (17:54 +0800)
Signed-off-by: caishan <caishan1993@foxmail.com>
src/rgw/rgw_data_sync.cc

index 1e988d4ce33f11ef97de7ec8ab19d0e9ca8d124b..e9bc1dd7b9c5d5d930ea6f81779d82ee6566e030 100644 (file)
@@ -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);
     }