Actions
Bug #39393
closedinefficient unordered bucket listing
% Done:
0%
Source:
Tags:
Backport:
luminous mimic nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
RGWRados::cls_bucket_list_unordered() loops over bucket index shards, but each loop uses CLSRGWIssueBucketList to send a [call rgw.bucket_list] osd op to every shard of the bucket index
attached before/after logs of an unordered list_bucket request from s3tests_boto3.functional.test_s3.test_bucket_list_unordered with rgw_override_bucket_index_max_shards=8
the difference is clear after counting the number of [call rgw.bucket_list] osd ops:
$ grep 'call rgw.bucket_list' unordered-8-shard-bucket-list-before.log | wc -l 64 $ grep 'call rgw.bucket_list' unordered-8-shard-bucket-list-after.log | wc -l 8
Files
Actions