]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: bucket index list can go backwards and may loop wip-fix-bi-list-backwards
authorJ. Eric Ivancich <ivancich@redhat.com>
Sat, 13 Dec 2025 06:28:11 +0000 (01:28 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Sat, 13 Dec 2025 07:00:15 +0000 (02:00 -0500)
commit1b9ea4affe44714b6b4dffa1a0b60526f1004cdd
tree263cbe7ed5a9191a42759467de78f6382eb4a50e
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