]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cloud restore: completing read through
authorJiffin Tony Thottan <thottanjiffin@gmail.com>
Fri, 21 Jun 2024 09:12:07 +0000 (14:42 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 3 Oct 2024 08:28:40 +0000 (13:58 +0530)
commitc49aa6aa3b1f18f4c36977e91311f6f7d9ac2e45
tree87193899bfbd2d37dc17de867af1dc9b9c38f2ac
parent0e0222d0162bcb7d49f79f73311e01cd19b0248c
cloud restore: completing read through

What are all supported :

* It allows read-through for cloud-tiered objects via restore_obj_from_cloud
* New tier config options user need to set allow_read_through to true and
  read_through_restore_days more than 1 for this feature to work, also
  objects with retain_head_object will be available for this feature.
* First get request will fail with restoring in progress error, objects
  are downloaded asynchronously.
* The objects restore are temporary.
* Tested `aws s3api get-object`, `aws s3api head-object` and `aws s3 cp`

In addition send timeout errors for first readthrough request

Also addressed lint warning and other cleanup(review comments)

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
src/doc/rgw/cloud-restore.md
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_zone.cc
src/rgw/rgw_op.cc
src/rgw/rgw_zone.cc
src/rgw/rgw_zone_types.h