<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sun May 26 04:10:42 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-5684/MB-5684.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-5684] max number of buckets should be set to a default value but configurable using a RESTful API (max set to 10 by default)</title>
                <link>http://www.couchbase.com/issues/browse/MB-5684</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>placeholder bug to limit max number of &amp;quot;supported&amp;quot; buckets that customer can create in a couchbase cluster&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
default to be determined based on system testing </description>
                <environment></environment>
            <key id="18009">MB-5684</key>
            <summary>max number of buckets should be set to a default value but configurable using a RESTful API (max set to 10 by default)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="siri">Sriram Melkote</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Jun 2012 17:55:21 -0500</created>
                <updated>Thu, 10 Jan 2013 01:09:43 -0600</updated>
                    <resolved>Thu, 11 Oct 2012 17:48:50 -0500</resolved>
                                            <fixVersion>2.0</fixVersion>
                                <component>RESTful-APIs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="41175" author="dipti" created="Thu, 11 Oct 2012 16:31:50 -0500"  >on gerrit. &lt;br/&gt;
&lt;br/&gt;
We need to change this to 10 buckets not 6. </comment>
                    <comment id="41198" author="siri" created="Thu, 11 Oct 2012 17:52:06 -0500"  >Buckets now limited to 10 by default. Limit is configurable using the max_bucket_count setting.</comment>
                    <comment id="41200" author="alkondratenko" created="Thu, 11 Oct 2012 18:03:42 -0500"  >&lt;a href=&quot;http://review.couchbase.org/21467&quot;&gt;http://review.couchbase.org/21467&lt;/a&gt;</comment>
                    <comment id="41204" author="dipti" created="Thu, 11 Oct 2012 18:27:40 -0500"  >thank you ! </comment>
                    <comment id="42987" author="kzeller" created="Wed, 31 Oct 2012 17:17:20 -0500"  >Added to RN and REST chapter:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;By default the maximum number of buckets recommended for a Couchbase Cluster is ten. This is a safety mechanism to ensure that a cluster does not have resource and CPU overuse due to too many buckets. This limit is configurable using the REST-API. &lt;br/&gt;
&amp;nbsp;The Couchbase REST-API has changed to enable you to change the default maximum number of buckets used in a Couchbase cluster. The maximum allowed buckets in this request is 128, however the suggested maximum number of buckets is ten per cluster. The following illustrates the endpoint and parameters used: &lt;br/&gt;
&lt;br/&gt;
shell&amp;gt;	curl -X -u admin:password -d maxBucketCount=6 &lt;a href=&quot;http://ip_address:8091/internalSettings&quot;&gt;http://ip_address:8091/internalSettings&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;For this request you need to provide administrative credentials for the cluster. The following HTTP request will be sent: &lt;br/&gt;
&lt;br/&gt;
About to connect() to 127.0.0.1 port 8091 (#0)&lt;br/&gt;
Trying 127.0.0.1...&lt;br/&gt;
connected&lt;br/&gt;
Connected to 127.0.0.1 (127.0.0.1) port 8091 (#0)&lt;br/&gt;
Server auth using Basic with user &amp;#39;Administrator&amp;#39;&lt;br/&gt;
POST /internalSettings HTTP/1.1&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;If Couchbase Server successfully changes the bucket limit for the cluster, you will get a HTTP 200 response: &lt;br/&gt;
&lt;br/&gt;
HTTP/1.1 200 OK&lt;br/&gt;
Server: Couchbase Server 2.0.0r_501_gb614829&lt;br/&gt;
Pragma: no-cache&lt;br/&gt;
Date: Wed, 31 Oct 2012 21:21:48 GMT&lt;br/&gt;
Content-Type: application/json&lt;br/&gt;
Content-Length: 2&lt;br/&gt;
Cache-Control: no-cache&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;If you provide an invalid number, such as 0, a negative number, or an amount over 128 buckets, you will get this error message: &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;[&amp;quot;Unexpected server error, request logged.&amp;quot;]&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 26 Jun 2012 00:18:36 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>4860</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>