<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:23 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-2246] Pay (more) attention to sharding maxSize</title>
                <link>https://jira.mongodb.org/browse/SERVER-2246</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;MongoDB should pay more attention to the sharding maxSize config option so that when total storage hits that value, no further data is added to that shard. Currently it&apos;s more of a soft limit as per &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/c35fe5922af94211/04cecf334defa9c0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/c35fe5922af94211/04cecf334defa9c0&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="14004">SERVER-2246</key>
            <summary>Pay (more) attention to sharding maxSize</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="tommaso.tocci@mongodb.com">Tommaso Tocci</assignee>
                                    <reporter username="boxedice">David Mytton</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Dec 2010 21:21:18 +0000</created>
                <updated>Tue, 11 Apr 2023 21:09:17 +0000</updated>
                            <resolved>Tue, 11 Apr 2023 21:09:17 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>4</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5339562" author="tommaso.tocci" created="Tue, 11 Apr 2023 21:09:17 +0000"  >&lt;p&gt;maxSize configuration option has been removed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66297&quot; title=&quot;Get rid of `maxSize` for shards&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66297&quot;&gt;&lt;del&gt;SERVER-66297&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="672943" author="asya" created="Sun, 27 Jul 2014 20:49:19 +0000"  >&lt;p&gt;MaxSize already controls the balancer not moving any chunks &lt;b&gt;to&lt;/b&gt; the shard that&apos;s reached its maxSize.&lt;/p&gt;

&lt;p&gt;I&apos;m trying to ascertain whether this ticket could be addressed by enhancing the balancer to move chunks &lt;em&gt;from&lt;/em&gt; a shard which is over its maxSize by some amount (otherwise you&apos;d have chunks going back and forth).&lt;/p&gt;

&lt;p&gt;This ticket requests that&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;when total storage hits that value, no further data is added to that shard&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I&apos;d like to get some thoughts as to whether solving this via balancer moving chunks from the shard but not changing any insert/update/etc behavior would be sufficient as it may be simpler to implement and be less drastic of a change.&lt;/p&gt;

&lt;p&gt;I do want to point out that tagging shards and chunk ranges &lt;em&gt;could&lt;/em&gt; be used as a temporary workaround to influence the balancer behavior, but of course that would be temporary as the sizes would have to be monitored and tag ranges kept up to date with current sizes.&lt;/p&gt;</comment>
                            <comment id="672827" author="kay.agahd@idealo.de" created="Sun, 27 Jul 2014 16:12:08 +0000"  >&lt;p&gt;&amp;gt; the only way to not insert a new document into shard that reached maxSize would be for the insert to fail.&lt;/p&gt;

&lt;p&gt;No. Why not just move the chunk to another shard and tell the balancer that the shard should not receive new chunks while it&apos;s overloaded? &lt;/p&gt;</comment>
                            <comment id="672822" author="asya" created="Sun, 27 Jul 2014 16:01:53 +0000"  >&lt;p&gt;Since documents must go to shards that hold appropriate chunk range, the only way to not insert a new document into shard that reached maxSize would be for the insert to fail.&lt;/p&gt;

&lt;p&gt;That seems like a poor user experience (plus all operations that increase storage would have to do the same).&lt;/p&gt;

&lt;p&gt;Maybe renaming or aliasing the maxSize parameter would be a better option?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="96183">SERVER-11441</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="238904">SERVER-21411</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14478">SERVER-2473</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2041524">SERVER-66297</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25133"><![CDATA[Sharding EMEA]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 27 Jul 2014 16:01:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        43 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>tommaso.tocci@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            43 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>boxedice</customfieldvalue>
            <customfieldvalue>kay.agahd@idealo.de</customfieldvalue>
            <customfieldvalue>tommaso.tocci@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp9wv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrfsbb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4850</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7185">Sharding EMEA 2023-05-01</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hs50f3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>