Actions
Bug #14507
closedrgw: user quota may not adjust on bucket removal
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
hammer
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
If the user/admin removes a bucket using --force/--purge-objects options with s3cmd/radosgw-admin respectively, the user stats will continue to reflect the deleted objects for quota purposes, and there seems to be no way to reset them. User stats need to be sync'ed prior to bucket removal.
Setting "rgw_user_quota_bucket_sync_interval = 0" avoids the problem, but adds overhead to puts and deletes.
Solution:
Sync user stats before removing a bucket.
Actions