]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/CloudTransition: Delete cloud tiered objects by default
authorSoumya Koduri <skoduri@redhat.com>
Sun, 2 Aug 2020 19:54:19 +0000 (01:24 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 18 Nov 2021 07:22:47 +0000 (12:52 +0530)
commit7d7aeb1ee04a0c40e943f8284c604dd3a9e4e275
tree21d567874037fa028fc5c912b26f1abf52dfc1db
parent23b962157acd28fed77a4db6969738bccb12463c
rgw/CloudTransition: Delete cloud tiered objects by default

Added a new option "retain_object" in tier_config which determines
whether a cloud tiered object is deleted or if its head object is
retained. By default the value is false i.e, the objects get
deleted.

XXX: verify that if Object is locked (ATTR_RETENTION), transition is
not processed. Also check if the transition takes place separately for
each version.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_cr_rest.h
src/rgw/rgw_json_enc.cc
src/rgw/rgw_lc.cc
src/rgw/rgw_zone.cc
src/rgw/rgw_zone.h