<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:33:55 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-14121] Store size for chunk in config.chunks.</title>
                <link>https://jira.mongodb.org/browse/SERVER-14121</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Mongo currently will sometimes  not shard chunks and we have seen  200M, 2000M 20000M chunks at times.  To avoid this anytime a migration or split occurs mongo should update the chunks &quot;size&quot; into the config.chunks documents. This would make it easier to correct this , since jumbo is not ALWAYS set correctly.&lt;/p&gt;


&lt;p&gt;The result is  we could have tools to correct chunks until such time  chunk splitting is moved to the mongod nodes, and possible even then if similar issue with detect still occur.&lt;/p&gt;</description>
                <environment></environment>
        <key id="139441">SERVER-14121</key>
            <summary>Store size for chunk in config.chunks.</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="ramon.fernandez@mongodb.com">Ramon Fernandez Marina</assignee>
                                    <reporter username="david.b.murphy.tx@gmail.com">David Murphy</reporter>
                        <labels>
                    </labels>
                <created>Sat, 31 May 2014 02:38:53 +0000</created>
                <updated>Tue, 13 Jul 2021 17:06:12 +0000</updated>
                            <resolved>Fri, 22 Aug 2014 19:55:10 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="700316" author="dmurphy" created="Fri, 22 Aug 2014 20:01:39 +0000"  >&lt;p&gt;Ramon,&lt;/p&gt;

&lt;p&gt;I think you  might want to look at our CS account where you will find a very large number of issues around this  topic on large chunks. Which are actually very much expected  due to the way splits work and why that is a major focus in the 2.7/2.8 build tree.&lt;/p&gt;

&lt;p&gt;Secondly adding fields to the meta data is not actually something that will break it ( this has already been tested via a patch). Something is needed for 2.2/2.4 as people still use these and its a  real issue that limits and breaks mongo&apos;s ability to scale.&lt;/p&gt;

&lt;p&gt;David &lt;/p&gt;</comment>
                            <comment id="700308" author="ramon.fernandez" created="Fri, 22 Aug 2014 19:53:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmurphy&quot; class=&quot;user-hover&quot; rel=&quot;dmurphy&quot;&gt;dmurphy&lt;/a&gt;, the changes you suggest in this ticket would require us to modify the format of the metadata stored in config servers. This is not a trivial change: it has a large impact on the sharding system and cannot be introduced in a minor release version.&lt;/p&gt;

&lt;p&gt;That being said, the large chunks you report are not expected, and it would be good to understand why. If you could open a SERVER ticket and provide the logs at logLevel 1 of a mongod where at least one of these large chunks appears we could investigate why they are not being split.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="629524" author="dmurphy" created="Fri, 20 Jun 2014 20:18:59 +0000"  >&lt;p&gt;We have seen large chunks cause elections and massive locking. The point here is when a split or move occurs we could record a size estimate for the moment ( maybe datasize results). This would prevent the next to scan 6000 chunks durinf a scan to find chunk sizes when shards are imbalanced for size but not chunks.&lt;/p&gt;

&lt;p&gt;We realize this is going to be better but this is a real issue short term and the next version is a good ways out.&lt;/p&gt;
</comment>
                            <comment id="610131" author="thomasr" created="Thu, 5 Jun 2014 19:55:43 +0000"  >&lt;p&gt;Hi David,&lt;/p&gt;

&lt;p&gt;We are working on improving splitting behavior and keeping track of chunk sizes more accurately, and you&apos;re right this has to be done on the shards themselves where the data resides. This is work in progress and will be addressed in an upcoming version. Keeping track of the chunk sizes in the config servers introduces overhead and is probably not the right way forward.&lt;/p&gt;

&lt;p&gt;In the meantime, perhaps you can use the &lt;a href=&quot;http://docs.mongodb.org/manual/reference/command/dataSize/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;dataSize&lt;/tt&gt;&lt;/a&gt; command which can return the size of data contained in a range (chunk). &lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Thomas&lt;/p&gt;


</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="117363">SERVER-13024</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71153">SERVER-9287</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000wWx6cQAC]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 5 Jun 2014 19:55:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 25 weeks, 5 days 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_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 25 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.b.murphy.tx@gmail.com</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlu07:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>120232</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|hsghbj:</customfieldvalue>

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