<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:03:41 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-11809] Docs for SERVER-33237: Optimize the Range Deleter speed</title>
                <link>https://jira.mongodb.org/browse/DOCS-11809</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description%3A&quot;&gt;&lt;/a&gt;Description: &lt;/h2&gt;

&lt;p&gt;Document the new rangeDeleterBatchDelayMS server parameter.&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;Scopeofchanges%3A&quot;&gt;&lt;/a&gt;Scope of changes: &lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Impacttootherdocsoutsideofthisproduct%3A&quot;&gt;&lt;/a&gt;Impact to other docs outside of this product: &lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%3A&quot;&gt;&lt;/a&gt;MVP: &lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%3A&quot;&gt;&lt;/a&gt;Resources: &lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;EngineeringTicketDescription%3A&quot;&gt;&lt;/a&gt;Engineering Ticket Description:&lt;/h2&gt;

&lt;p&gt;The sharding range deleter was intentionally implemented to not be fully efficient in order to minimize its interference with MMAP V1. This causes orphaned data to accumulate especially with the recent moveChunk improvements.&lt;/p&gt;

&lt;p&gt;With the WiredTiger storage engine, we can let it run at full speed and we should investigate the benefit of directly instantiating an auto-yielding &lt;a href=&quot;https://github.com/mongodb/mongo/blob/85b39d411987431a8c37b1de267b167a384ea9b3/src/mongo/db/query/get_executor.cpp#L715&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;delete stage&lt;/a&gt; instead of recreating the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/85b39d411987431a8c37b1de267b167a384ea9b3/src/mongo/db/s/collection_range_deleter.cpp#L320&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;index scan phase&lt;/a&gt; for each document.&lt;/p&gt;</description>
                <environment></environment>
        <key id="560479">DOCS-11809</key>
            <summary>Docs for SERVER-33237: Optimize the Range Deleter speed</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13201">Fixed</resolution>
                                        <assignee username="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="kay.kim@mongodb.com">Kay Kim</reporter>
                        <labels>
                            <label>bkp</label>
                    </labels>
                <created>Sun, 17 Jun 2018 19:44:10 +0000</created>
                <updated>Mon, 13 Nov 2023 18:34:02 +0000</updated>
                            <resolved>Wed, 5 Dec 2018 19:53:02 +0000</resolved>
                                                    <fixVersion>3.6.7</fixVersion>
                    <fixVersion>3.4.17</fixVersion>
                    <fixVersion>4.0.1</fixVersion>
                    <fixVersion>4.1.1</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2081694" author="xgen-internal-githook" created="Wed, 5 Dec 2018 19:49:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;email&apos;: &apos;kay.kim@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11809&quot; title=&quot;Docs for SERVER-33237: Optimize the Range Deleter speed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11809&quot;&gt;&lt;del&gt;DOCS-11809&lt;/del&gt;&lt;/a&gt;: rangeDeleterBatchDelayMS parameter&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/74c96af369fe98da7e3e5ccd924659863705b16f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/74c96af369fe98da7e3e5ccd924659863705b16f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2081691" author="xgen-internal-githook" created="Wed, 5 Dec 2018 19:46:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;email&apos;: &apos;kay.kim@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11809&quot; title=&quot;Docs for SERVER-33237: Optimize the Range Deleter speed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11809&quot;&gt;&lt;del&gt;DOCS-11809&lt;/del&gt;&lt;/a&gt;: rangeDeleterBatchDelayMS parameter&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/f1a304784f71f8eca04080f7f2b0d3f0c1207bc3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/f1a304784f71f8eca04080f7f2b0d3f0c1207bc3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2081681" author="xgen-internal-githook" created="Wed, 5 Dec 2018 19:39:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;email&apos;: &apos;kay.kim@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11809&quot; title=&quot;Docs for SERVER-33237: Optimize the Range Deleter speed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11809&quot;&gt;&lt;del&gt;DOCS-11809&lt;/del&gt;&lt;/a&gt;: rangeDeleterBatchDelayMS parameter&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/5fac0c0fec4ed61123c3fe8da39df5966b39fda6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/5fac0c0fec4ed61123c3fe8da39df5966b39fda6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2081670" author="xgen-internal-githook" created="Wed, 5 Dec 2018 19:35:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;email&apos;: &apos;kay.kim@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11809&quot; title=&quot;Docs for SERVER-33237: Optimize the Range Deleter speed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11809&quot;&gt;&lt;del&gt;DOCS-11809&lt;/del&gt;&lt;/a&gt;: rangeDeleterBatchDelayMS parameter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/f7dffbaaee4c762ba002433ec811391b59e6ed9d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/f7dffbaaee4c762ba002433ec811391b59e6ed9d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2074454" author="kay.kim@10gen.com" created="Wed, 28 Nov 2018 19:45:41 +0000"  >&lt;p&gt;So, we generate the corresponding docs ticket when the server ticket is resolved/closed and the server ticket is marked as docs changes needed.  &lt;/p&gt;</comment>
                            <comment id="2068719" author="kevin.pulo@10gen.com" created="Wed, 21 Nov 2018 06:33:39 +0000"  >&lt;p&gt;Would be good to also document rangeDeleterBatchSize (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37616&quot; title=&quot;Implement tuneable batch size for the rangedeleter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37616&quot;&gt;&lt;del&gt;SERVER-37616&lt;/del&gt;&lt;/a&gt;), as well as (maybe) migrateCloneInsertionBatchSize and migrateCloneInsertionBatchDelayMS (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37080&quot; title=&quot;Implement tuneable batch size for chunk migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37080&quot;&gt;&lt;del&gt;SERVER-37080&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="1988463" author="kevin.pulo@10gen.com" created="Wed, 29 Aug 2018 04:32:09 +0000"  >&lt;p&gt;In addition to directly documenting the &lt;tt&gt;rangeDeleterBatchDelayMS&lt;/tt&gt; parameter, it would also be good to get an entry added to the 3.4 ChangeLog regarding the behaviour in that branch (as explained in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33237?focusedCommentId=1987222&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1987222&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt;).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="495761">SERVER-33237</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="645230">DOCS-12241</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 29 Aug 2018 04:32:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 10 weeks 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>DOCS-11762</customfieldvalue>
                        </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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 10 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</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|hu0svz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htrna7:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1324">KANBAN BUCKET</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|hu0f5b:</customfieldvalue>

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