<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:29:56 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-53105] Remove namespace field from config.chunks</title>
                <link>https://jira.mongodb.org/browse/SERVER-53105</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Following the addition of collection uuids in &lt;b&gt;config.chunks&lt;/b&gt; documents, it is possible to get rid of the &lt;em&gt;ns&lt;/em&gt; field as long as there is no downgrade.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Amend &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52767&quot; title=&quot;Handle collectionUUID in config.chunks on upgrade/downgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52767&quot;&gt;&lt;del&gt;SERVER-52767&lt;/del&gt;&lt;/a&gt; downgrade/upgrade hooks to add/remove &lt;em&gt;ns&lt;/em&gt; to the documents&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;Change &lt;em&gt;ChunkType::NS&lt;/em&gt; queries currently targeting by &lt;b&gt;namespace&lt;/b&gt; to target by &lt;b&gt;(namespace || uuid) &amp;amp;&amp;amp; epoch&lt;/b&gt; in order to ensure chunk operations compatibility during downgrade/upgrade (&lt;b&gt;nss || uuid&lt;/b&gt;) and to be sure to don&apos;t pick chunks from a recreated collection following a rename (&lt;b&gt;&amp;amp;&amp;amp; epoch&lt;/b&gt;)&lt;/del&gt;&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;Change the CatalogCacheLoader to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d580c25413e64ec333e55cd2c77282f2f2269df6/src/mongo/s/config_server_catalog_cache_loader.cpp#L99-L105&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;read config.chunks&lt;/a&gt; with a snapshot read concern at the clusterTime the previous &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d580c25413e64ec333e55cd2c77282f2f2269df6/src/mongo/s/config_server_catalog_cache_loader.cpp#L84&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;read to config.collections&lt;/a&gt; returned.&lt;/del&gt;&lt;/li&gt;
	&lt;li&gt;In the ConfigServerCatalogCacheLoader, when reading config.chunks, pass a hint to enforce the use of either the &apos;ns_1_lasmod_1&apos; or &apos;uuid_1_lastmod_1&apos; index to ensure that config.chunks has a format consistent with what we inferred from the previous read to config.collections.&lt;/li&gt;
	&lt;li&gt;If at the time of reading the config.collections we find that in has a &apos;timestamp&apos;, then we will target the chunks by &apos;collectionUUID&apos;. Otherwise, we will keep targeting the chunks by &apos;ns&apos;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Testing:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Add a unit test into &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/config/initial_split_policy_test.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;initial_split_policy_test.cpp&lt;/a&gt; to assert that either namespace either UUID is present in the chunks document&lt;/li&gt;
	&lt;li&gt;Add unit tests around the new query logic&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1554487">SERVER-53105</key>
            <summary>Remove namespace field from config.chunks</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="jordi.serra-torrens@mongodb.com">Jordi Serra Torrens</assignee>
                                    <reporter username="pierlauro.sciarelli@mongodb.com">Pierlauro Sciarelli</reporter>
                        <labels>
                            <label>PM-1965-Milestone-0-Metadata-Format</label>
                    </labels>
                <created>Mon, 30 Nov 2020 11:24:52 +0000</created>
                <updated>Sun, 29 Oct 2023 21:59:58 +0000</updated>
                            <resolved>Tue, 16 Feb 2021 11:21:09 +0000</resolved>
                                                    <fixVersion>4.9.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3618800" author="xgen-internal-githook" created="Wed, 17 Feb 2021 10:22:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jordi Serra Torrens&apos;, &apos;email&apos;: &apos;jordi.serra-torrens@mongodb.com&apos;, &apos;username&apos;: &apos;jordist&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54579&quot; title=&quot;Complete TODO listed in SERVER-53105&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54579&quot;&gt;&lt;del&gt;SERVER-54579&lt;/del&gt;&lt;/a&gt;: Complete TODO listed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53105&quot; title=&quot;Remove namespace field from config.chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53105&quot;&gt;&lt;del&gt;SERVER-53105&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d4ff82a11019aef87701db9053499461601e75d6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d4ff82a11019aef87701db9053499461601e75d6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3616693" author="xgen-internal-githook" created="Tue, 16 Feb 2021 11:16:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jordi Serra Torrens&apos;, &apos;email&apos;: &apos;jordi.serra-torrens@mongodb.com&apos;, &apos;username&apos;: &apos;jordist&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53105&quot; title=&quot;Remove namespace field from config.chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53105&quot;&gt;&lt;del&gt;SERVER-53105&lt;/del&gt;&lt;/a&gt;: Pass &apos;hint&apos; when querying config.chunks in ConfigServerCatalogCacheLoader&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/24a3d286b9c3c7c85af127f3819e2757e175a03d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/24a3d286b9c3c7c85af127f3819e2757e175a03d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3591885" author="xgen-internal-githook" created="Mon, 1 Feb 2021 10:47:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jordi Serra Torrens&apos;, &apos;email&apos;: &apos;jordi.serra-torrens@mongodb.com&apos;, &apos;username&apos;: &apos;jordist&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53105&quot; title=&quot;Remove namespace field from config.chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53105&quot;&gt;&lt;del&gt;SERVER-53105&lt;/del&gt;&lt;/a&gt;: Target chunks by collectionUUID&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/522299492aa5a78339aa8ebb07e88e567ba125d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/522299492aa5a78339aa8ebb07e88e567ba125d7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3577320" author="xgen-internal-githook" created="Fri, 22 Jan 2021 10:25:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jordi Serra Torrens&apos;, &apos;email&apos;: &apos;jordi.serra-torrens@mongodb.com&apos;, &apos;username&apos;: &apos;jordist&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53105&quot; title=&quot;Remove namespace field from config.chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53105&quot;&gt;&lt;del&gt;SERVER-53105&lt;/del&gt;&lt;/a&gt;: Amend tests that target config.chunks by ns to target by ns or uuid depending on collection timestamp&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f3617ccb88b713884ae8e3853eefa42e84feda6d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f3617ccb88b713884ae8e3853eefa42e84feda6d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1603162">SERVER-54102</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1607262">SERVER-54167</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1539059">SERVER-52767</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1554491">SERVER-53106</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="1614230">SERVER-54345</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1706741">SERVER-56761</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1624620">SERVER-54579</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="300195" name="0001-SERVER-53105-Read-chunks-with-snapshot-read-concern-.patch" size="42983" author="jordi.serra-torrens@mongodb.com" created="Tue, 16 Feb 2021 11:47:04 +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_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 21 Jan 2021 18:59:25 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 51 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-52767'>SERVER-52767</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-54102'>SERVER-54102</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-54167'>SERVER-54167</a></s>]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1965</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 51 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jordi.serra-torrens@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|hyjhgv:</customfieldvalue>

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

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