Project

General

Profile

Bug #19285

rgw: user quota did not work well on multipart upload

Added by FAN YANG 7 months ago. Updated about 1 month 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:
Release:
Needs Doc:
No

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 7 months ago

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

#2 Updated by Yehuda Sadeh 7 months ago

What patch? Can you send a pull request?

#4 Updated by Yehuda Sadeh 7 months ago

  • Priority changed from Normal to High

#5 Updated by Yehuda Sadeh 7 months ago

  • Assignee set to Yehuda Sadeh

#6 Updated by Yehuda Sadeh 6 months 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 6 months 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 5 months 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 5 months ago

  • Status changed from New to Testing

#10 Updated by Casey Bodley 3 months ago

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

#11 Updated by Nathan Cutler 3 months ago

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

#12 Updated by Nathan Cutler 3 months ago

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

#13 Updated by Nathan Cutler about 1 month ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF