<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:15:10 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-16342] [SERVER] Investigate changes in SERVER-78657: Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection`</title>
                <link>https://jira.mongodb.org/browse/DOCS-16342</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    We are marking as deprecated the server parameter `minNumChunksForSessionsCollection`. It will be ignored internally.&lt;/p&gt;

&lt;p&gt;It should be worth documenting this for the user, so in the future this server parameter could be internally removed. The problem is that `minNumChunksForSessionsCollection` has never been documented externally, and it makes no sense to do it from now.&lt;/p&gt;

&lt;p&gt;I propose introducing a section called &quot;parameter ignored/DEPRECATED&quot; or similar in the docs and expose the `minNumChunksForSessionsCollection` there, with the possibility to extend this list in the future.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Starting from v6.0, the balancer is distributing data based on the data size on shards and not merely on the number of chunks. Because of that, it is totally useless to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a897690f1a192921fa8ddfdd002ed2513af14275/src/mongo/db/s/balancer/balancer_chunk_selection_policy.cpp#L338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;presplit the session collection&lt;/a&gt; during balancing rounds and it&apos;s also counterproductive because (1) chunks will not be moved and (2) starting from v7.0 the auto merger will squash them back together.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2425124">DOCS-16342</key>
            <summary>[SERVER] Investigate changes in SERVER-78657: Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection`</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                            <label>sharding</label>
                    </labels>
                <created>Thu, 24 Aug 2023 07:21:02 +0000</created>
                <updated>Mon, 13 Nov 2023 18:43:26 +0000</updated>
                            <resolved>Tue, 10 Oct 2023 14:17:43 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                    <fixVersion>7.0.2</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>3</watches>
                                                                                                                <comments>
                            <comment id="5712563" author="JIRAUSER1257483" created="Mon, 18 Sep 2023 18:49:53 +0000"  >&lt;p&gt;Thank you for the explanation, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pol.pinol%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;pol.pinol@mongodb.com&quot;&gt;pol.pinol@mongodb.com&lt;/a&gt; &#8211; this all makes sense to me. I put a PR together documenting this deprecation.&lt;/p&gt;</comment>
                            <comment id="5710308" author="JIRAUSER1271605" created="Mon, 18 Sep 2023 07:35:07 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=joseph.dougherty%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;joseph.dougherty@mongodb.com&quot;&gt;joseph.dougherty@mongodb.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;In most cases, a user will not be affected by this change. A server parameter (that was not documented) will now be deprecated. But, for those users that were aware of this server parameter and had a script to initiate the cluster using `minNumChunksForSessionsCollection` as a server parameter, they need to be aware that it will be ignored, i.e., the session collection will no longer presplit during balancer rounds based on the server parameter `minNumChunksForSessionsCollection`.&lt;/p&gt;

&lt;p&gt;The point here is that, `minNumChunksForSessionsCollection` was never documented (&lt;a href=&quot;https://www.mongodb.com/docs/manual/reference/parameters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/manual/reference/parameters&lt;/a&gt;), and now we don&apos;t want to introduce it, just announce its deprecation.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="5704546" author="JIRAUSER1257483" created="Thu, 14 Sep 2023 15:59:17 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pol.pinol%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;pol.pinol@mongodb.com&quot;&gt;pol.pinol@mongodb.com&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;Thank you for raising this issue. Generally speaking we do not document ignored params. I think I understand the desire to mention that this had existed previously, but I&apos;d prefer to state what a use should do in its absence to make any relevant updates.&lt;/p&gt;

&lt;p&gt;That is, can we express this as what the user can do &lt;b&gt;instead&lt;/b&gt; of modifying the value of `getSplitCandidatesForSessionsCollection`?&lt;/p&gt;


&lt;p&gt;Thanks for your help!&lt;br/&gt;
Joe Dougherty&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2383398">SERVER-78657</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 18 Sep 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>Thu, 14 Sep 2023 15:59:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        20 weeks, 2 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>We are marking as deprecated the server parameter `minNumChunksForSessionsCollection`. It will be ignored internally.&lt;br/&gt;
&lt;br/&gt;
It should be worth documenting this for the user, so in the future this server parameter could be internally removed. The problem is that `minNumChunksForSessionsCollection` has never been documented externally, and it makes no sense to do it from now.&lt;br/&gt;
&lt;br/&gt;
I propose introducing a section called &amp;quot;parameter ignored/DEPRECATED&amp;quot; or similar in the docs and expose the `minNumChunksForSessionsCollection` there, with the possibility to extend this list in the future.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[pol.pinol@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>
                            20 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>joseph.dougherty@mongodb.com</customfieldvalue>
            <customfieldvalue>pol.pinol@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2nm9b:</customfieldvalue>

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

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