<!-- 
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-53104] Ensure all shard-local cache collections of config.collections contain timestamps after upgrade</title>
                <link>https://jira.mongodb.org/browse/SERVER-53104</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52588&quot; title=&quot;Making the upgrade/downgrade process work for the Epoch to ClusterTime migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52588&quot;&gt;&lt;del&gt;SERVER-52588&lt;/del&gt;&lt;/a&gt;, on FCV upgrade we create a &apos;timestamp&apos; for the collections in configsvr&apos;s config.collections. The shard-local cache will be refreshed the first time it sees a new version with Epoch+Timestamp. This is not guaranteed to happen for all collections, unless they are referenced.&lt;/p&gt;

&lt;p&gt;In order to facilitate the upgrade from 5.0 to 5.1, where&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52847&quot; title=&quot;Make timestamp required in CollectionType and ShardCollectionType IDL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52847&quot;&gt;&lt;del&gt;SERVER-52847&lt;/del&gt;&lt;/a&gt; will make the &apos;timestamp&apos; required in IDL, we want to guarantee that upon finishing the upgrade to 5.0, no cached entries are left without timestamp anywhere.&lt;/p&gt;

&lt;p&gt;This ticket is to ensure that the shard-local caches are refreshed after FCV upgrade to 5.0.&lt;/p&gt;

&lt;p&gt;This can be accomplished by either:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Doing FCV upgrade in a 2-phase commit manner (if we end up doing in)&lt;/li&gt;
	&lt;li&gt;Issuing _flushRoutingTable({syncFromConfig:true} commands.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1554485">SERVER-53104</key>
            <summary>Ensure all shard-local cache collections of config.collections contain timestamps after upgrade</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="sergi.mateo-bellido@mongodb.com">Sergi Mateo Bellido</assignee>
                                    <reporter username="jordi.serra-torrens@mongodb.com">Jordi Serra Torrens</reporter>
                        <labels>
                            <label>PM-1965-Milestone-0-Metadata-Format</label>
                    </labels>
                <created>Mon, 30 Nov 2020 11:23:04 +0000</created>
                <updated>Sun, 29 Oct 2023 21:59:58 +0000</updated>
                            <resolved>Fri, 26 Feb 2021 10:00:33 +0000</resolved>
                                                    <fixVersion>4.9.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3643770" author="xgen-internal-githook" created="Wed, 3 Mar 2021 09:16:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergi Mateo Bellido&apos;, &apos;email&apos;: &apos;sergi.mateo-bellido@mongodb.com&apos;, &apos;username&apos;: &apos;smateo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54820&quot; title=&quot;Complete TODO listed in SERVER-53104&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54820&quot;&gt;&lt;del&gt;SERVER-54820&lt;/del&gt;&lt;/a&gt; Complete TODO listed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53104&quot; title=&quot;Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53104&quot;&gt;&lt;del&gt;SERVER-53104&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d907f3a145d7ace275f16e01777d5681094cf8f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d907f3a145d7ace275f16e01777d5681094cf8f0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3636590" author="xgen-internal-githook" created="Fri, 26 Feb 2021 09:35:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergi Mateo Bellido&apos;, &apos;email&apos;: &apos;sergi.mateo-bellido@mongodb.com&apos;, &apos;username&apos;: &apos;smateo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53104&quot; title=&quot;Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53104&quot;&gt;&lt;del&gt;SERVER-53104&lt;/del&gt;&lt;/a&gt; Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&lt;/p&gt;

&lt;p&gt;Changelog:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Adding a new command to flush the database cache with write concern&lt;/li&gt;
	&lt;li&gt;Explicitly waiting for the majority write concern when patching-up the&lt;br/&gt;
  metadata.&lt;/li&gt;
	&lt;li&gt;Forcing a refresh of all Collections/DBs on all shards&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/718039b573ff992d6799cc59d63d45ad4a7c21be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/718039b573ff992d6799cc59d63d45ad4a7c21be&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3606235" author="xgen-internal-githook" created="Tue, 9 Feb 2021 09:34:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergi Mateo Bellido&apos;, &apos;email&apos;: &apos;sergi.mateo-bellido@mongodb.com&apos;, &apos;username&apos;: &apos;smateo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53104&quot; title=&quot;Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53104&quot;&gt;&lt;del&gt;SERVER-53104&lt;/del&gt;&lt;/a&gt; Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Modifying the loader to properly handle metadata format changes in&lt;br/&gt;
  Collections &amp;amp; Databases&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/29a838f9193ba88c7ba8195fd44eb252a80be5f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/29a838f9193ba88c7ba8195fd44eb252a80be5f8&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3601088" author="xgen-internal-githook" created="Fri, 5 Feb 2021 10:26:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergi Mateo Bellido&apos;, &apos;email&apos;: &apos;sergi.mateo-bellido@mongodb.com&apos;, &apos;username&apos;: &apos;smateo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53104&quot; title=&quot;Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53104&quot;&gt;&lt;del&gt;SERVER-53104&lt;/del&gt;&lt;/a&gt; Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Hot fix: Fixing order of parameters&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/22e1c611c4c3c42ed8402dbefac3d5a6c21abe10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/22e1c611c4c3c42ed8402dbefac3d5a6c21abe10&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3597030" author="xgen-internal-githook" created="Wed, 3 Feb 2021 15:44:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergi Mateo Bellido&apos;, &apos;email&apos;: &apos;sergi.mateo-bellido@mongodb.com&apos;, &apos;username&apos;: &apos;smateo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53104&quot; title=&quot;Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53104&quot;&gt;&lt;del&gt;SERVER-53104&lt;/del&gt;&lt;/a&gt; Ensure all shard-local cache collections of config.collections contain timestamps after upgrade&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If we detect a change on the metadata format we patch-up the in-memory&lt;br/&gt;
  objects of the CatalogCache.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a0ef72be79903990cc488d3353bacbfe6e78eb32&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a0ef72be79903990cc488d3353bacbfe6e78eb32&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1593393">SERVER-53862</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1634761">SERVER-54820</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1663402">SERVER-55647</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>5.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>Tue, 2 Feb 2021 18:32:30 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 49 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_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, 49 weeks ago
                        </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>sergi.mateo-bellido@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyjhgf:</customfieldvalue>

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

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