Project

General

Profile

Actions

Bug #14599

closed

rgw: user quota may not adjust on bucket removal

Added by Edward Yang about 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
other
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 1 (0 open1 closed)

Is duplicate of rgw - Bug #14507: rgw: user quota may not adjust on bucket removalResolvedIsaac Otsiabah01/25/2016

Actions
Actions #1

Updated by Nathan Cutler about 8 years ago

  • Is duplicate of Bug #14507: rgw: user quota may not adjust on bucket removal added
Actions #2

Updated by Nathan Cutler about 8 years ago

  • Status changed from New to Duplicate
  • Target version deleted (v0.94.6)

The original issue is already tagged for backport.

Actions

Also available in: Atom PDF