]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/cloud-restore: Handle failure with adding restore entry
authorSoumya Koduri <skoduri@redhat.com>
Fri, 23 May 2025 20:25:30 +0000 (01:55 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Fri, 4 Jul 2025 12:48:04 +0000 (18:18 +0530)
commit9974f51eb61603b8117d7b50e6b0b4614fcce721
tree6db87115afaceb05e89494303aa429c1ccbc2bdc
parentef96bb0d6137bacf45b9ee2f99ad5bcd8b3b6add
rgw/cloud-restore: Handle failure with adding restore entry

In case adding restore entry to FIFO fails, reset the `restore_status`
of that object as "RestoreFailed" so that restore process can be
retried from the end S3 user.

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_restore.cc
src/rgw/rgw_restore.h