Project

General

Profile

Actions

Bug #19285

closed

rgw: user quota did not work well on multipart upload

Added by FAN YANG about 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I test jewel 10.2.5.The rgw user quota did not work well on multipart upload.
And i found the PR:https://github.com/ceph/ceph/pull/12010/files.Is ok for this question?

Bug replication step:
1.I set 10Gb quota for one user.
"user_quota": {
"enabled": true,
"max_size_kb": 10485760,
"max_objects": -1
},
2.Upload some file to one bucket about 2Gb-3Gb size.
3.Upload one big file,like 8Gb to the bucket with multipart upload.The result is successfull.
4.If first upload some file about 7Gb to bucket,and then upload 8Gb to the bucket.The result is failed.Quota is useful.


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #20726: jewel: rgw: user quota did not work well on multipart uploadResolvedNathan CutlerActions
Copied to rgw - Backport #20727: kraken: rgw: user quota did not work well on multipart uploadRejectedActions
Actions

Also available in: Atom PDF