<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:14:18 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-15977] [Server] Document sharding auto-merger</title>
                <link>https://jira.mongodb.org/browse/DOCS-15977</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;When a migration commits, the current timestamp is always stored together with the migrated chunk. Starting from v7.0, sharding has a new component called auto-merger that is periodically taking care of scanning through such timestamps in order to spot &quot;mergeable&quot; chunks and then issue &lt;em&gt;mergeAllChunksOnShard&lt;/em&gt; commands (both the definition of &quot;mergeable&quot; and of the new &lt;em&gt;mergeAllChunksOnShard&lt;/em&gt; command are listed in &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15976&quot; title=&quot;[Server] Document `mergeAllChunksOnShard` command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15976&quot;&gt;&lt;del&gt;DOCS-15976&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;When the auto-merger is active, it does the following:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Identify all the &lt;b&gt;&amp;lt;nss, shard&amp;gt;&lt;/b&gt; pairs for which exist mergeable chunks.&lt;/li&gt;
	&lt;li&gt;Schedule a &lt;b&gt;&lt;em&gt;mergeAllChunksOnShard&lt;/em&gt;&lt;/b&gt; command for each pair and wait for the operation to commit (with &lt;b&gt;maxNumberOfChunksToMerge&lt;/b&gt; set to 1000).&lt;/li&gt;
&lt;/ol&gt;


&lt;h3&gt;&lt;a name=&quot;Newserverparameters%28tosetonconfigservernodes%29&quot;&gt;&lt;/a&gt;New server parameters (to set on config server nodes)&lt;/h3&gt;
&lt;p&gt;Unless explicitly disabled, auto-merging will happen periodically every &lt;em&gt;&lt;b&gt;autoMergerIntervalSecs&lt;/b&gt;&lt;/em&gt; seconds, configurable server parameter defaulted to 1 hour. Auto-merge actions issued for the same collection will be spaced at least of &lt;b&gt;autoMergerThrottlingMS&lt;/b&gt; seconds defaulted to 15 seconds (please, also document those new parameters).&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Settings&quot;&gt;&lt;/a&gt;Settings&lt;/h3&gt;
&lt;p&gt;Which parameter(s) are taken into account to decide whether auto-merging should happen for a collection?&#160;&lt;br/&gt;
The following settings will be considered in order of precedence&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Global balancing&lt;/li&gt;
	&lt;li&gt;Per-collection balancing (configurable via &lt;a href=&quot;https://www.mongodb.com/docs/manual/reference/command/configureCollectionBalancing/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;configureCollectionBalancing&lt;/a&gt;)&lt;/li&gt;
	&lt;li&gt;Global automerge&lt;/li&gt;
	&lt;li&gt;Per-collection automerge (configurable via &lt;a href=&quot;https://www.mongodb.com/docs/manual/reference/command/configureCollectionBalancing/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;configureCollectionBalancing&lt;/a&gt; - &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15978&quot; title=&quot;[Server] enableAutoMerger: new parameter in configureCollectionBalancing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15978&quot;&gt;&lt;del&gt;DOCS-15978&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If a &lt;a href=&quot;https://www.mongodb.com/docs/manual/tutorial/manage-sharded-cluster-balancer/#schedule-the-balancing-window&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;balancing window&lt;/a&gt; is set, the auto-merger will only work during such window.&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2295033">DOCS-15977</key>
            <summary>[Server] Document sharding auto-merger</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="joseph.dougherty@mongodb.com">Joseph Dougherty</assignee>
                                    <reporter username="pierlauro.sciarelli@mongodb.com">Pierlauro Sciarelli</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Mar 2023 17:26:27 +0000</created>
                <updated>Mon, 13 Nov 2023 17:34:35 +0000</updated>
                            <resolved>Thu, 8 Jun 2023 16:03:52 +0000</resolved>
                                                    <fixVersion>7.0.0-rc0</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>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2345101">DOCS-16150</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2350849">DOCS-16164</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2295004">DOCS-15976</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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 25 May 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 26 May 2023 20:32:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        46 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>- Document the auto-merging behavior (DOCS)&lt;br/&gt;
- Deprecate auto-split related commands (DOCS + Shell)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-26284</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[pierlauro.sciarelli@mongodb.com]]></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>
                            46 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>joseph.dougherty@mongodb.com</customfieldvalue>
            <customfieldvalue>pierlauro.sciarelli@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i21c27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1jp0w:</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|i20y7j:</customfieldvalue>

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