]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/dbstore: Lifecycle support
authorSoumya Koduri <skoduri@redhat.com>
Mon, 27 Jun 2022 08:43:19 +0000 (14:13 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 5 Jul 2022 12:12:19 +0000 (17:42 +0530)
commit402230363f87a170b73741a051770ef68f6d1c4b
tree2f55df904393f2d3550384d3940c44b746f835e9
parent67364c45d012ad274a9875ed0befc4676db0845c
rgw/dbstore: Lifecycle support

Fixed issues with LC rule processing in dbstore. Also wrt object
transition, for now just the target storage class is updated for that
object in the object table without any other special action taken.

TODO: Once zonegroup, zone and storage-classes can be configured for
dbstore, need to validate target storage-class/placement rules and also
perform any other actions necessary (for eg., moving objects to another
table etc., if in case each storage class needs to have separate object table)

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_lc.cc
src/rgw/rgw_sal_dbstore.cc
src/rgw/store/dbstore/common/dbstore.cc
src/rgw/store/dbstore/common/dbstore.h