summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_s3.h
diff options
context:
space:
mode:
authorshreyanshjain7174 <ssanchet@redhat.com>2024-08-05 09:44:52 +0200
committerSoumya Koduri <skoduri@redhat.com>2024-10-03 10:28:43 +0200
commit1b66bc527eb2ffa26a13816b4de310b3c25d8ace (patch)
tree24e08ee92d963016a91c84b518ff85ccd428b632 /src/rgw/rgw_rest_s3.h
parentcloud restore: completing read through (diff)
downloadceph-1b66bc527eb2ffa26a13816b4de310b3c25d8ace.tar.xz
ceph-1b66bc527eb2ffa26a13816b4de310b3c25d8ace.zip
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>
Diffstat (limited to '')
-rw-r--r--src/rgw/rgw_rest_s3.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rgw/rgw_rest_s3.h b/src/rgw/rgw_rest_s3.h
index d86123a2525..63909f57036 100644
--- a/src/rgw/rgw_rest_s3.h
+++ b/src/rgw/rgw_rest_s3.h
@@ -327,6 +327,16 @@ public:
rgw::sal::DataProcessor *cb) override;
};
+class RGWRestoreObj_ObjStore_S3 : public RGWRestoreObj_ObjStore {
+
+public:
+ RGWRestoreObj_ObjStore_S3() {}
+ ~RGWRestoreObj_ObjStore_S3() override {}
+
+ int get_params(optional_yield y) override;
+ void send_response() override;
+};
+
class RGWDeleteObj_ObjStore_S3 : public RGWDeleteObj_ObjStore {
public:
RGWDeleteObj_ObjStore_S3() {}