]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/cloudrestore: Add Restore support from Glacier/Tape cloud endpoints 61745/head
authorSoumya Koduri <skoduri@redhat.com>
Sat, 1 Mar 2025 07:05:51 +0000 (12:35 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Sat, 15 Mar 2025 16:13:13 +0000 (21:43 +0530)
commit300f6435095001258c11300937230c399802f46e
tree26a50b8af35abef18409427dc670425972fbc983
parent38d2c11bf24c347b2e27d17476528132d2bd0233
rgw/cloudrestore: Add Restore support from Glacier/Tape cloud endpoints

Unlike regular S3 cloud services, restoring objects from S3/Tape or AWS Glacier services
would require special handling. We need to first restore the object using Glacier
RestoreObject API and then download it using GET.
https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html

This PR adds that support for "Expedited" tier retrieval type. That means the
restore would be quick and the object can be downloaded soon.

TODO: "Standard" tier-type support. Need to handle the case where in restore from
cloud endpoint could take a longer time and need to be monitored periodically
in the background.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/driver/rados/.rgw_lc_tier.cc.swm [deleted file]
src/rgw/driver/rados/rgw_lc_tier.cc
src/rgw/driver/rados/rgw_lc_tier.h
src/rgw/driver/rados/rgw_rados.cc
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_sal.h