Project

General

Profile

Bug #19285

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

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 about 7 years ago

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

#2 Updated by Yehuda Sadeh about 7 years ago

What patch? Can you send a pull request?

#4 Updated by Yehuda Sadeh about 7 years ago

  • Priority changed from Normal to High

#5 Updated by Yehuda Sadeh almost 7 years ago

  • Assignee set to Yehuda Sadeh

#6 Updated by Yehuda Sadeh almost 7 years 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 almost 7 years 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 almost 7 years 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 almost 7 years ago

  • Status changed from New to 7

#10 Updated by Casey Bodley over 6 years ago

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

#11 Updated by Nathan Cutler over 6 years ago

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

#12 Updated by Nathan Cutler over 6 years ago

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

#13 Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF