Bug 1389845 - [RFE] Set a default quota on the bucket index
Summary: [RFE] Set a default quota on the bucket index
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.2
Assignee: Matt Benjamin (redhat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-28 21:48 UTC by Neil Levine
Modified: 2022-02-21 18:05 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 21:47:00 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1391500 0 unspecified CLOSED ceph-ansible should enable default bucket object quota for new ceph installs 2021-02-22 00:41:40 UTC

Internal Links: 1391500

Description Neil Levine 2016-10-28 21:48:06 UTC
Large bucket indexes represent a scaling issue if customer don't shard the bucket ahead of time. If the bucket index grows too large, performance can suffer.

To ensure customers don't create too large a bucket index, we should set a default quota of 100k by default. This assumes the customer is not sharding by default. 

If they do shard, we can recommend (in the docs) that they set the bucket index quota to be 100k * the number of shards. However, the customer will explicitly have to change the default cap to do.

Comment 3 Daniel Gryniewicz 2016-10-31 17:45:12 UTC
Why not just have a quota of 100k * #shards in code, and be done?  Is it really a good idea to add another "shoot yourself in the foot" option to the conf file?

Comment 5 Matt Benjamin (redhat) 2016-11-01 18:36:37 UTC
PR for this issue in https://github.com/ceph/ceph/pull/11711

Comment 10 Uday Boppana 2016-11-03 17:56:59 UTC
The combination of 
https://bugzilla.redhat.com/show_bug.cgi?id=1391500
and 
https://bugzilla.redhat.com/show_bug.cgi?id=1391650

cover the functionality that this BZ was trying to accomplish for 2.1 for both new and existing installs.


Note You need to log in before you can comment on or make changes to this bug.