]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: advance head if the current entry doesn't exist 61531/head
authorSoumya Koduri <skoduri@redhat.com>
Mon, 25 Mar 2024 18:08:57 +0000 (23:38 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Sun, 26 Jan 2025 18:15:11 +0000 (23:45 +0530)
commit279193b68135d6b70d8e1270343f71df228a462d
tree219bfbfb97f9201ff9903cd9ef0ed9083b482a36
parent75402778d100317ffb7ffb7ae15152e9f73d4ef1
rgw/lc: advance head if the current entry doesn't exist

This is extension to https://github.com/ceph/ceph/pull/47595.

When skipping the non-exist LC entry, instead of get_next_entry(),
use advance_head() to fetch the next entry. In case the cycle
is finished for that shard, head should be reset to avoid lc process
being stuck in indefinite loop.

Fixes: https://tracker.ceph.com/issues/65160
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit 86a8709dc8884c5f065946926648a75485002efb)
src/rgw/rgw_lc.cc