]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/restore: Mark the restore entry status as `None` first time
authorSoumya Koduri <skoduri@redhat.com>
Fri, 12 Sep 2025 07:29:22 +0000 (12:59 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Mon, 22 Sep 2025 18:12:50 +0000 (23:42 +0530)
commit1eb0623d6b7dee653c7529a38b8f907185107d33
treed763d315c13586811bb4e9b0edba16329e6eb158
parent90b962cae2eb48023f6c62339b1354606b5ea421
rgw/restore: Mark the restore entry status as `None` first time

While adding the restore entry to the FIFO, mark its status as `None`
so that restore thread knows that the entry is being processed for
the first time. Incase the restore is still in progress and the entry
needs to be re-added to the queue, its status then will be marked
`InProgress`.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_restore.cc