]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: fix lc head marker point to non-exist lc entry
authorTongliang Deng <dengtongliang@gmail.com>
Mon, 15 Aug 2022 11:19:07 +0000 (11:19 +0000)
committerSoumya Koduri <skoduri@redhat.com>
Sun, 26 Jan 2025 18:14:58 +0000 (23:44 +0530)
commit75402778d100317ffb7ffb7ae15152e9f73d4ef1
tree7b8422dc7d648136afd3a1d570789acd625c6852
parente726e9f606cf93088ac3d0078a99a1d3b791c1a1
rgwlc: fix lc head marker point to non-exist lc entry

After a single-bucket run and its lc entry is removed since the
bucket is deleted, we will have lc shard object's head marker
point to a non-exist lc entry. Finally, buckets that are hashed
to this lc shard can not have any lifecycle progress. Fix it
by skipping the non-exist marker.

Fixes: https://tracker.ceph.com/issues/57162
Signed-off-by: Tongliang Deng <dengtongliang@gmail.com>
(cherry picked from commit 479a9261670b14f058b280026f9cfcdf199badf8)
src/rgw/rgw_lc.cc