Actions
Bug #46447
open[RFE] rgw: optimize bucket creation by storing bucket count for user
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
On every bucket creation op for a user where the max_buckets > 0, RGW is reading all buckets for user to get current buckets count for user and verifying if count is exceeding max_buckets. This is slowing down bucket creation if number of buckets for user is in thousands or millions.
- store bucket count in user
- increment count on every successful bucket creation
- check bucket count with max_buckets instead of reading all buckets
Updated by Prashant D almost 4 years ago
- Status changed from New to In Progress
- Pull request ID set to 36006
Updated by Prashant D almost 4 years ago
Actions