]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/rgw: non-versioned listings skip past version suffix 62235/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 11 Mar 2025 16:07:22 +0000 (12:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 Mar 2025 21:36:12 +0000 (17:36 -0400)
commit90902ce21864cadeca87684eff0b0e1a24970384
tree50ca037ff9722c6a80207d50c0eb5a2929caed43
parent9f55c66709b4054c62e2a4847bddcd4ec89aea76
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>
src/cls/rgw/cls_rgw.cc