]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: treat -EFBIG as advance-and-retry in unordered listing 65319/head
authorPARK BEOMSEOK <beomseok.park@linecorp.com>
Mon, 1 Sep 2025 10:12:38 +0000 (19:12 +0900)
committerPARK BEOMSEOK <beomseok.park@linecorp.com>
Thu, 30 Oct 2025 05:06:41 +0000 (14:06 +0900)
commit0d628a76c8e32bbebedaaad77a2bb228a7ad41e7
tree31154e62f272e2a6f068cb059a1b660f712e005b
parent986f61cbfa1c86c4982b34421a7ecc2c21a03907
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