]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/CloudTransition: Verify if the object is already tiered
authorSoumya Koduri <skoduri@redhat.com>
Sun, 16 Aug 2020 09:01:50 +0000 (14:31 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 18 Nov 2021 07:22:48 +0000 (12:52 +0530)
commit557b519881c54ee7195d84968d1e2632827b7713
tree82da4951fba3f702a8b73818fe1a19ba47b8f96a
parent6333c0e50c2ed500e95cbc7ae5e26de6ffc8db29
rgw/CloudTransition: Verify if the object is already tiered

Add class to fetch headers from remote endpoint and verify if the object
is already tiered.

& Few other fixes stated below -

* Erase data in the head of cloud transitioned object
* 'placement rm' command should erase tier_config details
* A new option added in the object manifest to denote if the
  object is tiered in multiparts

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