diff options
author | J. Eric Ivancich <ivancich@redhat.com> | 2025-01-17 19:14:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 19:14:42 +0100 |
commit | 3b96a09094c0ca91cfeee3d33763825f664f1fd2 (patch) | |
tree | b182216ba19c8d62ba1f33e3a7a35beb6662cdcc | |
parent | Merge pull request #61271 from clwluvw/datasync-usermode-err (diff) | |
parent | rgw: set dest bucket id in bucket sync checkpoint (diff) | |
download | ceph-3b96a09094c0ca91cfeee3d33763825f664f1fd2.tar.xz ceph-3b96a09094c0ca91cfeee3d33763825f664f1fd2.zip |
Merge pull request #61406 from clwluvw/checkpoint-dstbucket
rgw: set dest bucket id in bucket sync checkpoint
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
-rw-r--r-- | src/rgw/driver/rados/rgw_rest_log.cc | 2 | ||||
-rw-r--r-- | src/rgw/radosgw-admin/sync_checkpoint.cc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/rgw/driver/rados/rgw_rest_log.cc b/src/rgw/driver/rados/rgw_rest_log.cc index 9315dfc0afd..72216a471b3 100644 --- a/src/rgw/driver/rados/rgw_rest_log.cc +++ b/src/rgw/driver/rados/rgw_rest_log.cc @@ -1061,7 +1061,7 @@ void RGWOp_BILog_Status::execute(optional_yield y) if (!pipe.dest.bucket) { /* Uh oh, something went wrong */ - ldpp_dout(this, 20) << "ERROR: RGWOp_BILog_Status::execute(optional_yield y): BUG: pipe.dest.bucket was not initialized" << pipe << dendl; + ldpp_dout(this, 0) << "ERROR: RGWOp_BILog_Status::execute(optional_yield y): BUG: pipe.dest.bucket was not initialized" << pipe << dendl; op_ret = -EIO; return; } diff --git a/src/rgw/radosgw-admin/sync_checkpoint.cc b/src/rgw/radosgw-admin/sync_checkpoint.cc index 0303ed6c747..97da99bdc27 100644 --- a/src/rgw/radosgw-admin/sync_checkpoint.cc +++ b/src/rgw/radosgw-admin/sync_checkpoint.cc @@ -228,6 +228,7 @@ int rgw_bucket_sync_checkpoint(const DoutPrefixProvider* dpp, } auto& entry = sources.emplace_back(); entry.pipe = pipe; + entry.pipe.dest.bucket = info.bucket; // so it contains the bucket key (+bucket id) // fetch remote markers boost::asio::spawn(ioctx, [&] (boost::asio::yield_context yield) { |