<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:16:15 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-7991] default chunkSize of 64MB is not taken care </title>
                <link>https://jira.mongodb.org/browse/SERVER-7991</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;MongoDB documentation says that default chunksize is 64 MB.&lt;br/&gt;
We have setup MongoDB cluster with default chunksize and loaded 350 GB of data. This setup is on linux machines&lt;br/&gt;
Cluster is of 6 shards with a replication factor of 3.&lt;br/&gt;
After the load is completed, we have checked the sharding stats with the db.&amp;lt;collection&amp;gt;.getShardDistribution.&lt;br/&gt;
shard-3 has 30% data with chunksize of 162GB.&lt;br/&gt;
Remaining shards have 10-14% data each with a chunksize varying from 64-96GB.&lt;br/&gt;
Can you please let me know is this a bug in MongoDB version 2.2.1?&lt;br/&gt;
If not, can you please let me know why this behavior of different chunksize in the same cluster???&lt;/p&gt;


&lt;p&gt;regards,&lt;br/&gt;
Santosh&lt;/p&gt;</description>
                <environment>Linux, Ubuntu</environment>
        <key id="60011">SERVER-7991</key>
            <summary>default chunkSize of 64MB is not taken care </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="stephen.steneker@mongodb.com">Stennie Steneker</assignee>
                                    <reporter username="krisant007">Santosh Kumar L</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2012 14:09:28 +0000</created>
                <updated>Fri, 15 Feb 2013 15:06:52 +0000</updated>
                            <resolved>Fri, 21 Dec 2012 05:57:04 +0000</resolved>
                                    <version>2.2.1</version>
                                                    <component>Diagnostics</component>
                    <component>Internal Code</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="221057" author="eliot" created="Fri, 21 Dec 2012 05:56:57 +0000"  >&lt;p&gt;This is caused by: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7960&quot; title=&quot;Chunk size different on shards of same MongoDB cluster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7960&quot;&gt;&lt;del&gt;SERVER-7960&lt;/del&gt;&lt;/a&gt;, so resolving as dupe.&lt;/p&gt;</comment>
                            <comment id="221056" author="krisant007" created="Fri, 21 Dec 2012 05:56:33 +0000"  >&lt;p&gt;Stephen,&lt;/p&gt;

&lt;p&gt;I cannot get the output for the command sh.status() as we have shutdown the cluster and removed the data for setting up a fresh cluster.&lt;/p&gt;


&lt;p&gt;regards,&lt;br/&gt;
Santosh&lt;/p&gt;</comment>
                            <comment id="221053" author="krisant007" created="Fri, 21 Dec 2012 05:52:47 +0000"  >&lt;p&gt;Posting the details of getShardDistribution() output below.&lt;/p&gt;


&lt;p&gt;We have setup a 6 Shard MongoDB cluster with a replication factor of 3.&lt;br/&gt;
When starting the router process, default chunk size and oplog size was chosen by not specifying the values for these explicitly.&lt;/p&gt;

&lt;p&gt;Shard3 has a chunk size of 161 MB while the rest have 60-90 MB per chunk.&lt;br/&gt;
All shards are similar type of instances on Amazon EC2 environment.&lt;br/&gt;
What we have noticed using db.&amp;lt;collection&amp;gt;.getShardDistribution() command is as follows:&lt;/p&gt;

&lt;p&gt;Shard shard1 at shard1/&amp;lt;ips of shard1&amp;gt;&lt;br/&gt;
data : 38.8Gb docs : 43049426 chunks : 621&lt;br/&gt;
estimated data per chunk : 63.99Mb&lt;br/&gt;
estimated docs per chunk : 69322&lt;/p&gt;

&lt;p&gt;Shard shard2 at shard2/&amp;lt;ips of shard2&amp;gt;&lt;br/&gt;
data : 40.24Gb docs : 44644092 chunks : 620&lt;br/&gt;
estimated data per chunk : 66.47Mb&lt;br/&gt;
estimated docs per chunk : 72006&lt;/p&gt;

&lt;p&gt;Shard shard3 at shard3/&amp;lt;ips of shard3&amp;gt;&lt;br/&gt;
data : 102.65Gb docs : 113874252 chunks : 649&lt;br/&gt;
estimated data per chunk : 161.97Mb&lt;br/&gt;
estimated docs per chunk : 175461&lt;/p&gt;

&lt;p&gt;Shard shard4 at shard4/&amp;lt;ips of shard4&amp;gt;&lt;br/&gt;
data : 54.51Gb docs : 60472368 chunks : 620&lt;br/&gt;
estimated data per chunk : 90.04Mb&lt;br/&gt;
estimated docs per chunk : 97536&lt;/p&gt;

&lt;p&gt;Shard shard5 at shard5/&amp;lt;ips of shard5&amp;gt;&lt;br/&gt;
data : 50.48Gb docs : 56005174 chunks : 620&lt;br/&gt;
estimated data per chunk : 83.38Mb&lt;br/&gt;
estimated docs per chunk : 90330&lt;/p&gt;

&lt;p&gt;Shard shard6 at shard6/&amp;lt;ips of shard6&amp;gt;&lt;br/&gt;
data : 46.32Gb docs : 51388397 chunks : 620&lt;br/&gt;
estimated data per chunk : 76.51Mb&lt;br/&gt;
estimated docs per chunk : 82884&lt;/p&gt;

&lt;p&gt;Totals&lt;br/&gt;
data : 333.05Gb docs : 369433709 chunks : 3750&lt;br/&gt;
Shard shard1 contains 11.65% data, 11.65% docs in cluster, avg obj size on shard : 967b&lt;br/&gt;
Shard shard2 contains 12.08% data, 12.08% docs in cluster, avg obj size on shard : 967b&lt;br/&gt;
Shard shard3 contains 30.82% data, 30.82% docs in cluster, avg obj size on shard : 967b&lt;br/&gt;
Shard shard4 contains 16.36% data, 16.36% docs in cluster, avg obj size on shard : 967b&lt;br/&gt;
Shard shard5 contains 15.15% data, 15.15% docs in cluster, avg obj size on shard : 967b&lt;br/&gt;
Shard shard6 contains 13.91% data, 13.91% docs in cluster, avg obj size on shard : 967b&lt;/p&gt;</comment>
                            <comment id="221050" author="krisant007" created="Fri, 21 Dec 2012 05:51:28 +0000"  >&lt;p&gt;Hi Stephen,&lt;/p&gt;

&lt;p&gt;I have raised a bug for this 3 days ago. Please check the following link for the details.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7960&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-7960&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;regards,&lt;br/&gt;
Santosh&lt;/p&gt;</comment>
                            <comment id="220822" author="stennie" created="Fri, 21 Dec 2012 00:13:42 +0000"  >&lt;p&gt;Hi Santosh,&lt;/p&gt;

&lt;p&gt;Can you please post the output of &lt;tt&gt;getShardDistribution()&lt;/tt&gt; for the collection in question as well as &lt;tt&gt;sh.status()&lt;/tt&gt;?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 21 Dec 2012 00:13:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 8 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_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 8 weeks, 5 days 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>krisant007</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrndw7:</customfieldvalue>

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

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

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