]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
RGW: Cloud Restore cli and its corresponding response for user. 59311/head
authorshreyanshjain7174 <ssanchet@redhat.com>
Mon, 5 Aug 2024 07:44:52 +0000 (02:44 -0500)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 3 Oct 2024 08:28:43 +0000 (13:58 +0530)
commit1b66bc527eb2ffa26a13816b4de310b3c25d8ace
tree24e08ee92d963016a91c84b518ff85ccd428b632
parentc49aa6aa3b1f18f4c36977e91311f6f7d9ac2e45
RGW: Cloud Restore cli and its corresponding response for user.

* For first and repititive request 202 Accepted will be corresponding response code.
* For CloudRestored status 200 OK will be corresponding response code.
* For conflicting requests 409 Conflict corresponding response code.

Also Fixed storage class update while listing objects.

Earlier while restoring object temporarily list-objects (s3api) and
radosgw-admin bucket list didn't have updated storage class. With this
fixed it now has the cloudtier storage class.

Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
src/rgw/driver/rados/rgw_rados.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_op_type.h
src/rgw/rgw_rest.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h