<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:20:35 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-9498] Possible bug in SplitVector: Mongodb keeps on splitting the same chunk over and over again for hours</title>
                <link>https://jira.mongodb.org/browse/SERVER-9498</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This happens when the balancer is trying to move a chunk that is too big to move. It issues a &quot;forced split&quot; to reduce the size of the chunk. The split succeeds, but it splits the chunk on the 250000th document in the chunk. By the time mongodb tries to move the same chunk again it will be too big to move. It will then issue another &quot;forced split&quot;. The &quot;forced split&quot; will result in a spilt on the 250000th document in the chunk. This pattern will sometimes go on for several hours. It will result in several hundreds or sometimes thousands of &quot;small&quot; chunks containing just a hand full of documents. &lt;/p&gt;</description>
                <environment></environment>
        <key id="73400">SERVER-9498</key>
            <summary>Possible bug in SplitVector: Mongodb keeps on splitting the same chunk over and over again for hours</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="-1">Unassigned</assignee>
                                    <reporter username="dawei">David Weibull</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Apr 2013 06:46:03 +0000</created>
                <updated>Wed, 10 Dec 2014 23:05:57 +0000</updated>
                            <resolved>Wed, 29 May 2013 18:48:25 +0000</resolved>
                                    <version>2.2.4</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="326531" author="dawei" created="Thu, 2 May 2013 12:58:13 +0000"  >&lt;p&gt;I should add that the problem only exists if we have a constant high insertion rate. Stop inserting documents and it will solve it self.&lt;/p&gt;</comment>
                            <comment id="326525" author="dawei" created="Thu, 2 May 2013 12:53:06 +0000"  >&lt;p&gt;When splitVector (s/d_spilt.cpp) is run with force set to true, keyCount is set to 250000 (maxChunkObjects). This results in a split point at the 250000th document if the chunk contains more than 250000 documents. In my case the chunk seems to contain more than 250000 docs.&lt;/p&gt;

&lt;p&gt;If the chunk is split at the 250000th document and we add one document to the chunk before we try to move it again, then the move will fail once again. It will result in a &quot;forced split&quot;. We will then set keyCount to 250000 and split the chunk at the 250000th document .... it will now only take that one document is added to the chunk&lt;br/&gt;
before we try to move it again ... and the move will fail once again and issue a &quot;forced split&quot; &lt;/p&gt;


&lt;p&gt;I think the developers of splitVector assumed that a chunk never can contain more than 250000 documents. Because if the chunk contains 250000 docs or less splitVector will find the &quot;middle&quot; of the chunk and split it on that doc. (It will reset keyCount to &quot;number of documents in chunk&quot;/2 and iterate another round over the documents in the chunk until it reaches the keyCount doc and then use that doc as a split point.). In this case everything works out fine and the chunk is moved the next time we try to move it.&lt;/p&gt;</comment>
                            <comment id="324323" author="jhn" created="Mon, 29 Apr 2013 19:52:46 +0000"  >&lt;p&gt;This seem to be related as well: &lt;a href=&quot;https://groups.google.com/d/topic/mongodb-user/nJG8WlCdta0/discussion&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/d/topic/mongodb-user/nJG8WlCdta0/discussion&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="324298" author="jhn" created="Mon, 29 Apr 2013 19:36:19 +0000"  >&lt;p&gt;This seem to bee the same problem as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9365&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-9365&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="72046">SERVER-9365</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="26411" name="balancer.prob.log" size="71327" author="dawei" created="Mon, 29 Apr 2013 06:46:03 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 29 Apr 2013 19:36:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 41 weeks, 6 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 41 weeks, 6 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>dawei</customfieldvalue>
            <customfieldvalue>jhn</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmvb3:</customfieldvalue>

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

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

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