]> git-server-git.apps.pok.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)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
commita7e8eaf69f5964ee1bd864ef2eaee9f4b459b5df
tree45b1a4a06869be83c69646b67878b7896767f493
parent712d77b08ea87c12e70968f9fbe17c0a4fddb8c2
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`.

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