summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_data_sync.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-12-03 23:40:23 +0100
committerCasey Bodley <cbodley@redhat.com>2024-09-12 22:54:59 +0200
commitc83fd2e1b1b77edbbeb248c45f05b5bebe54f287 (patch)
tree1fd5c2f279efa53590be385f0b4e4549323cbb50 /src/rgw/driver/rados/rgw_data_sync.cc
parentrgw/metadata: use raw RGWMetadataHandler for bucket entrypoints (diff)
downloadceph-c83fd2e1b1b77edbbeb248c45f05b5bebe54f287.tar.xz
ceph-c83fd2e1b1b77edbbeb248c45f05b5bebe54f287.zip
rgw/metadata: use raw RGWMetadataHandler for bucket instances
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_data_sync.cc')
-rw-r--r--src/rgw/driver/rados/rgw_data_sync.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rgw/driver/rados/rgw_data_sync.cc b/src/rgw/driver/rados/rgw_data_sync.cc
index 248b45845d4..b6cc23bd74a 100644
--- a/src/rgw/driver/rados/rgw_data_sync.cc
+++ b/src/rgw/driver/rados/rgw_data_sync.cc
@@ -3126,8 +3126,13 @@ public:
-> std::unique_ptr<RGWMetadataHandler> override {
return create_archive_bucket_metadata_handler(rados, svc_bucket, ctl_bucket);
}
- RGWBucketInstanceMetadataHandlerBase *alloc_bucket_instance_meta_handler(rgw::sal::Driver* driver) override {
- return RGWArchiveBucketInstanceMetaHandlerAllocator::alloc(driver);
+ auto alloc_bucket_instance_meta_handler(rgw::sal::Driver* driver,
+ RGWSI_Zone* svc_zone,
+ RGWSI_Bucket* svc_bucket,
+ RGWSI_BucketIndex* svc_bi)
+ -> std::unique_ptr<RGWMetadataHandler> override {
+ return create_archive_bucket_instance_metadata_handler(
+ driver, svc_zone, svc_bucket, svc_bi);
}
};