Description of problem: A bug in unordered bucket listing causes it to scale poorly with the number of bucket shards N, issuing N^2 osd requests instead of N. Version-Release number of selected component (if applicable): How reproducible: On buckets with more than one shard. Steps to Reproduce: 1. Configure radosgw with rgw_override_bucket_index_max_shards=8 and debug_ms=1, restart radosgw 2. Create a bucket with public access: $ s3cmd mb s3://bucket --acl-public 3. List the bucket once with the 'allow-unordered' parameter: $ curl http://[hostname:port]/bucket?allow-unordered=1 4. In the radosgw log, count the number of [call rgw.bucket_list] requests sent to osds: $ grep --count 'call rgw.bucket_list' /path/to/radosgw.log Actual results: 64 Expected results: 8 Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0911