Project

General

Profile

Bug #19285

rgw: user quota did not work well on multipart upload

Added by FAN YANG over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
03/16/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

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

Copied to rgw - Backport #20726: jewel: rgw: user quota did not work well on multipart upload Resolved
Copied to rgw - Backport #20727: kraken: rgw: user quota did not work well on multipart upload Rejected

History

#1 Updated by FAN YANG over 1 year ago

I test the patch and it's ok. Who can analyse the patch and approve it.

#2 Updated by Yehuda Sadeh over 1 year ago

What patch? Can you send a pull request?

#4 Updated by Yehuda Sadeh over 1 year ago

  • Priority changed from Normal to High

#5 Updated by Yehuda Sadeh over 1 year ago

  • Assignee set to Yehuda Sadeh

#6 Updated by Yehuda Sadeh about 1 year ago

It would be great if there was a test for it. I think this could be a candidate to add for the ragweed test.

#7 Updated by FAN YANG about 1 year ago

Yehuda Sadeh wrote:

It would be great if there was a test for it. I think this could be a candidate to add for the ragweed test.

Thanks for your reply.And the patch(https://github.com/ceph/ceph/pull/12010/files) is ready for add to master?

#8 Updated by Yehuda Sadeh about 1 year ago

  • Subject changed from rgw user quota did not work well on multipart upload to rgw: user quota did not work well on multipart upload

#9 Updated by Yehuda Sadeh about 1 year ago

  • Status changed from New to Testing

#10 Updated by Casey Bodley 12 months ago

  • Status changed from Testing to Pending Backport
  • Backport set to jewel kraken

#11 Updated by Nathan Cutler 12 months ago

  • Copied to Backport #20726: jewel: rgw: user quota did not work well on multipart upload added

#12 Updated by Nathan Cutler 12 months ago

  • Copied to Backport #20727: kraken: rgw: user quota did not work well on multipart upload added

#13 Updated by Nathan Cutler 10 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF