Hi,

One of my user told me that they can upload bigger files to the bucket than the 
limit. My question is to the developers mainly what’s the reason to set the 
rgw_bucket_quota_ttl=600 and rgw_user_quota_bucket_sync_interval=180? I don’t 
want to set to 0 before I know the reason 😃
With this settings if the user has pretty high bandwidth they can upload 
terabytes of files before the 10minutes limit reached.

I set the following values on a specific bucket:

"bucket_quota": {
        "enabled": true,
        "check_on_raw": false,
        "max_size": 524288000,
        "max_size_kb": 512000,
        "max_objects": 1126400

But they can upload 600MB files also.

This article came into my face: 
https://bugzilla.redhat.com/show_bug.cgi?id=1417775

Seems like if these values set to 0:

"name": "rgw_bucket_quota_ttl",
"type": "int",
"level": "advanced",
"desc": "Bucket quota stats cache TTL",
"long_desc": "Length of time for bucket stats to be cached within RGW 
instance.",
"default": 600,

and

"name": "rgw_user_quota_bucket_sync_interval",
"type": "int",
"level": "advanced",
"desc": "User quota bucket sync interval",
"long_desc": "Time period for accumulating modified buckets before syncing 
these stats.",
"default": 180,

They will be terminated on bucket limit.

Thank you

________________________________
This message is confidential and is for the sole use of the intended 
recipient(s). It may also be privileged or otherwise protected by copyright or 
other legal rules. If you have received it by mistake please let us know by 
reply email and delete it from your system. It is prohibited to copy this 
message or disclose its content to anyone. Any confidentiality or privilege is 
not waived or lost by any mistaken delivery or unauthorized disclosure of the 
message. All messages sent to and from Agoda may be monitored to ensure 
compliance with company policies, to protect the company's interests and to 
remove potential malware. Electronic messages may be intercepted, amended, lost 
or deleted, or contain viruses.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to