Project

General

Profile

Actions

Bug #14507

closed

rgw: user quota may not adjust on bucket removal

Added by Isaac Otsiabah over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% 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.


Related issues 2 (0 open2 closed)

Has duplicate rgw - Bug #14599: rgw: user quota may not adjust on bucket removalDuplicateEdward Yang02/01/2016

Actions
Copied to rgw - Backport #15023: hammer: rgw: user quota may not adjust on bucket removalResolvedWei-Chung ChengActions
Actions

Also available in: Atom PDF