]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket index list can go backwards and may loop 66623/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Sat, 13 Dec 2025 06:28:11 +0000 (01:28 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 19 Dec 2025 19:34:09 +0000 (14:34 -0500)
commit67b92b3a47c126492fd35d310ad34b017855b21d
tree0c990ae8f03e555b52e055d7397a3bd7f4129469
parent7b20282d689e923005dafdda4ba6d0e53fb7c760
rgw: bucket index list can go backwards and may loop

The logic for the bucket index list did not always move through a
shard's entries forwards. If the marker started with a character
greater than 0x80 (i.e., started with a unicode characters in UTF-8)
the listing could back up into the instance area or olh area of the
bucket index. This was due to faulty comparison logic that asserted
that all plain entries preceeded all instance and olh entries.

Other clean-ups were also included.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/cls/rgw/cls_rgw.cc
src/rgw/radosgw-admin/radosgw-admin.cc