Project

General

Profile

Actions

Bug #14507

closed

rgw: user quota may not adjust on bucket removal

Added by Isaac Otsiabah about 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 #1

Updated by Nathan Cutler about 8 years ago

  • Has duplicate Bug #14599: rgw: user quota may not adjust on bucket removal added
Actions #2

Updated by Nathan Cutler about 8 years ago

  • Backport changed from Hammer to hammer
Actions #3

Updated by Yehuda Sadeh about 8 years ago

  • Status changed from New to Pending Backport

PR 7586

Actions #4

Updated by Nathan Cutler about 8 years ago

  • Copied to Backport #15023: hammer: rgw: user quota may not adjust on bucket removal added
Actions #5

Updated by Nathan Cutler almost 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF