diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-12-13 21:32:37 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2023-12-13 21:32:37 +0100 |
commit | b4592f3588d2cff5766949508d181ef603128ff4 (patch) | |
tree | 8c84ac4c0fc4a5ff9104f39aa0fde7dad5f24ebf | |
parent | rgw/multisite: error repo coroutines store raw_obj by value (diff) | |
download | ceph-b4592f3588d2cff5766949508d181ef603128ff4.tar.xz ceph-b4592f3588d2cff5766949508d181ef603128ff4.zip |
rgw/multisite: error repo coroutines initialize rados pointer
Signed-off-by: Casey Bodley <cbodley@redhat.com>
-rw-r--r-- | src/rgw/driver/rados/rgw_sync_error_repo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/rados/rgw_sync_error_repo.cc b/src/rgw/driver/rados/rgw_sync_error_repo.cc index c180497bd73..b07037d655d 100644 --- a/src/rgw/driver/rados/rgw_sync_error_repo.cc +++ b/src/rgw/driver/rados/rgw_sync_error_repo.cc @@ -127,7 +127,7 @@ class RGWErrorRepoWriteCR : public RGWSimpleCoroutine { RGWErrorRepoWriteCR(librados::Rados* rados, const rgw_raw_obj& raw_obj, const std::string& key, ceph::real_time timestamp) : RGWSimpleCoroutine(static_cast<CephContext*>(rados->cct())), - raw_obj(raw_obj), + rados(rados), raw_obj(raw_obj), key(key), timestamp(timestamp) {} @@ -172,7 +172,7 @@ class RGWErrorRepoRemoveCR : public RGWSimpleCoroutine { RGWErrorRepoRemoveCR(librados::Rados* rados, const rgw_raw_obj& raw_obj, const std::string& key, ceph::real_time timestamp) : RGWSimpleCoroutine(static_cast<CephContext*>(rados->cct())), - raw_obj(raw_obj), + rados(rados), raw_obj(raw_obj), key(key), timestamp(timestamp) {} |