]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: advance head if the current entry doesn't exist
authorSoumya Koduri <skoduri@redhat.com>
Mon, 25 Mar 2024 18:08:57 +0000 (23:38 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 23 Apr 2024 11:28:43 +0000 (16:58 +0530)
commit86a8709dc8884c5f065946926648a75485002efb
tree0dda4dfabc04100db232b5987138d6492bb88110
parent367a84918bb3cacbc3a7fac5dbfed468b73cf523
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>
src/rgw/rgw_lc.cc