]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: activate lifecycle processing on non-master zones
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 5 Jul 2022 22:33:09 +0000 (18:33 -0400)
committerMykola Golub <mgolub@suse.com>
Tue, 12 Dec 2023 10:15:22 +0000 (12:15 +0200)
commit47fac7e523a2e25a135e529035f476c0410b45d3
treee4f3d1d838dbd75193ad56d1708e578bf255d1bd
parentace8fb7609db6cf6bf09eee288cbee63c8fa23ae
rgwlc: activate lifecycle processing on non-master zones

The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: #33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee22667692c7e8b3c8529a9eef7da743eff246f)
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_data_sync.cc
src/rgw/rgw_lc.cc
src/rgw/rgw_service.cc
src/rgw/rgw_sync_module.cc
src/rgw/rgw_sync_module.h