]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/rgw: non-versioned listings skip past version suffix 62590/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 11 Mar 2025 16:07:22 +0000 (12:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 31 Mar 2025 21:03:02 +0000 (17:03 -0400)
commitb49828d5a1d30feb578f2282b217567fb519c522
treed643c331983ea326b2dec69f38a28655e7d63167
parentaa444d124a8f074121bda4836e53260ba32fa3d6
cls/rgw: non-versioned listings skip past version suffix

when skipping a versioned entry for a non-versioned listing, we must
advance the marker or risk infinite loops. in particular, plain entries
converted by convert_plain_entry_to_versioned() sort at the end of an
object's versions, but have an empty version id whose retry would start
back at the beginning of the object's versions

Fixes: https://tracker.ceph.com/issues/70399
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 90902ce21864cadeca87684eff0b0e1a24970384)
src/cls/rgw/cls_rgw.cc