<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:50:50 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>[DOCS-5701] Jumbo chunks are never cleared automatically</title>
                <link>https://jira.mongodb.org/browse/DOCS-5701</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;This page:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/clear-jumbo-flag/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/clear-jumbo-flag/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;erroneously claims&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;If the chunk size no longer hits the limits, MongoDB clears the jumbo flag for the chunk when the mongos reloads or rewrites the chunk metadata.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This is not true.&lt;/p&gt;

&lt;p&gt;It looks like &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4163&quot; title=&quot;Document how to manually reset Jumbo flag on chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4163&quot;&gt;&lt;del&gt;DOCS-4163&lt;/del&gt;&lt;/a&gt; missed that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13024&quot; title=&quot;Clear the &amp;#39;jumbo&amp;#39; flag from the chunk document when the chunk is no longer over-sized&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13024&quot;&gt;SERVER-13024&lt;/a&gt; (which it references) is not actually resolved?&lt;/p&gt;

&lt;p&gt;This ticket is to request that the above sentence be replaced by one that explains when jumbo &lt;em&gt;is&lt;/em&gt; cleared (currently only on successful chunk split), and that this means sometimes it needs to be cleared manually. &lt;/p&gt;</description>
                <environment></environment>
        <key id="212400">DOCS-5701</key>
            <summary>Jumbo chunks are never cleared automatically</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.pulo@mongodb.com">Kevin Pulo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Jun 2015 07:02:22 +0000</created>
                <updated>Mon, 30 Oct 2023 21:44:42 +0000</updated>
                            <resolved>Tue, 1 Nov 2022 11:02:30 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>2</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4943661" author="edu.bot" created="Tue, 1 Nov 2022 11:02:26 +0000"  >&lt;p&gt;Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!&lt;/p&gt;</comment>
                            <comment id="951709" author="kevin.pulo@10gen.com" created="Fri, 26 Jun 2015 12:56:07 +0000"  >&lt;p&gt;Oops, sorry about this &amp;#8212; my testing wasn&apos;t sufficient.  The jumbo flag &lt;em&gt;can&lt;/em&gt; be cleared in certain circumstances, which (at the moment) are independent of whether or not the chunk is still jumbo.  However, if the flag gets cleared, and the chunk is still actually jumbo, then at some later time it&apos;ll get marked jumbo again.&lt;/p&gt;

&lt;p&gt;The circumstances when jumbo will or won&apos;t be cleared are pretty complicated, but I think that &quot;&lt;em&gt;when the mongos reloads or rewrites the chunk metadata&lt;/em&gt;&quot; isn&apos;t terribly useful for most users.&lt;/p&gt;

&lt;p&gt;Based on this, my suggestion is to change the second paragraph to something like:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;MongoDB clears the jumbo flag in certain circumstances, such as when the chunk is split or migrated.  However, if the chunk still satisfies the above criteria it may be marked as jumbo again.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I think it&apos;s also worth mentioning on this page the implications of jumbo chunks, namely, that the balancer does not attempt to split or migrate them.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;EDIT:&lt;/b&gt; I also think it might be useful to specify in the first paragraph that one of the leading causes of large chunks that cannot be split is poor shard key cardinality (with a link to the &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/choose-a-shard-key/#considerations-for-selecting-shard-key&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Considerations for Selecting Shard Key&lt;/a&gt;).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="117363">SERVER-13024</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="162991">DOCS-4163</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Jun 2015 12:31:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 14 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-1769</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 14 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrq8t3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hryo6n:</customfieldvalue>

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