]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: treat -EFBIG as advance-and-retry in unordered listing
authorPARK BEOMSEOK <beomseok.park@linecorp.com>
Mon, 1 Sep 2025 10:12:38 +0000 (19:12 +0900)
committerPARK BEOMSEOK <beomseok.park@linecorp.com>
Wed, 24 Sep 2025 12:54:23 +0000 (21:54 +0900)
commit2174d6ec027487e07abd6328a7ec10df490ecd00
tree5b12a625501e39dfb9e6d34d842fbbf1aac484a9
parentf96567578976c2c84a31d366a04c28fb95ceb0d9
rgw: treat -EFBIG as advance-and-retry in unordered listing

The RGW cls bucket listing may return RGWBIAdvanceAndRetryError(-EFBIG) when it cannot return any visible entries in a call but has advanced the marker; callers are expected to retry with the updated marker.

RGWRados::cls_bucket_list_unordered() treated this condition as a fatal error and aborted the listing, which could prematurely terminate listings for buckets with many non-visible entries.

This change handles RGWBIAdvanceAndRetryError by advancing to the returned marker and continuing the loop, correctly interpreting it as "advance and retry."

Fixes: https://tracker.ceph.com/issues/63721
Signed-off-by: PARK BEOMSEOK <beomseok.park@linecorp.com>
src/rgw/driver/rados/rgw_rados.cc