<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:57:36 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-63363] Do not assume that the ChunkVersion always has a valid timestamp</title>
                <link>https://jira.mongodb.org/browse/SERVER-63363</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In 5.0 we extended the &lt;tt&gt;ChunkVersion&lt;/tt&gt; with a new field: a timestamp. The idea was that this timestamp would replace another field: the epoch. As part of the &lt;tt&gt;setFCV(5.0)&lt;/tt&gt; command, we patched up the information on the CSRS and asked all shards to refresh, patching up their routing and filtering information.&lt;/p&gt;

&lt;p&gt;However, we didn&apos;t think about what happened with mongos: it could totally happen that we had a mongos under FCV 5.0 sending commands with shardVersions that didn&apos;t have timestamps. However that was not a problem because the &lt;tt&gt;ChunkVersion&lt;/tt&gt; class wasn&apos;t assuming that the timestamp was mandatory, so if it wasn&apos;t present that class was relying on the epoch field.&lt;/p&gt;

&lt;p&gt;The problem was introduced in 5.1, when we changed the implementation of the &lt;tt&gt;ChunkVersion&lt;/tt&gt;&#160;to assume that the Timestamp was always present. The problematic scenario is when we are replacing the binaries: first we change the ones on the shards and afterwards the ones on the mongoses. Thus, it could happen that one of those stale mongoses send a command with a version that doesn&apos;t have timestamps to a shard that it is expecting them.&lt;/p&gt;

&lt;p&gt;The goal of this task is to make the timestamp optional again.&lt;/p&gt;

&lt;p&gt;A symptom of this bug are errors with the following message: &quot;Invalid type missing for version timestamp part&quot;. &lt;a href=&quot;https://www.mongodb.com/docs/manual/reference/command/flushRouterConfig/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Flushing the routers&lt;/a&gt;&#160;or restarting the binary should fix this problem.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1978504">SERVER-63363</key>
            <summary>Do not assume that the ChunkVersion always has a valid timestamp</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</assignee>
                                    <reporter username="sergi.mateo-bellido@mongodb.com">Sergi Mateo Bellido</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Feb 2022 15:21:37 +0000</created>
                <updated>Thu, 18 Jan 2024 11:55:07 +0000</updated>
                            <resolved>Thu, 31 Mar 2022 13:51:51 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="4447247" author="xgen-internal-githook" created="Thu, 31 Mar 2022 13:07:47 +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: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63363&quot; title=&quot;Do not assume that the ChunkVersion always has a valid timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63363&quot;&gt;&lt;del&gt;SERVER-63363&lt;/del&gt;&lt;/a&gt; Fixing parsing of ChunkVersion&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit e98dc4a89c55c0c391b1a6d1ef6a4be92328cfe9.&lt;/p&gt;

&lt;p&gt;Looking for a different way of fixing this problem!&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1dd40ad6ed8aa8a636e7de003185444d04810f75&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1dd40ad6ed8aa8a636e7de003185444d04810f75&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4446823" author="xgen-internal-githook" created="Thu, 31 Mar 2022 09:20:38 +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: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63363&quot; title=&quot;Do not assume that the ChunkVersion always has a valid timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63363&quot;&gt;&lt;del&gt;SERVER-63363&lt;/del&gt;&lt;/a&gt; Fixing parsing of ChunkVersion&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit e8942de372206059a8acf80a1a17b2d4b02551a2.&lt;/p&gt;

&lt;p&gt;(looking for another way to fix this problem)&lt;br/&gt;
Branch: v5.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bfaa1ac7797c77e2d7f27660363f43f126cf0dce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bfaa1ac7797c77e2d7f27660363f43f126cf0dce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4440747" author="xgen-internal-githook" created="Tue, 29 Mar 2022 06:51:25 +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-63363&quot; title=&quot;Do not assume that the ChunkVersion always has a valid timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63363&quot;&gt;&lt;del&gt;SERVER-63363&lt;/del&gt;&lt;/a&gt; Fixing parsing of ChunkVersion&lt;/p&gt;

&lt;p&gt;Backport to 5.2&lt;br/&gt;
Branch: v5.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e8942de372206059a8acf80a1a17b2d4b02551a2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e8942de372206059a8acf80a1a17b2d4b02551a2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4428729" author="xgen-internal-githook" created="Wed, 23 Mar 2022 06:50:42 +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-63363&quot; title=&quot;Do not assume that the ChunkVersion always has a valid timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63363&quot;&gt;&lt;del&gt;SERVER-63363&lt;/del&gt;&lt;/a&gt; Fixing parsing of ChunkVersion&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e98dc4a89c55c0c391b1a6d1ef6a4be92328cfe9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e98dc4a89c55c0c391b1a6d1ef6a4be92328cfe9&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001s6sLbQAI, 5006R00001srBQUQA2, 5006R00001sEI0fQAG, 5006R00001srPEpQAM, 5006R00001uLWfXQAW, 5006R00001uNJ9EQAW, 5006R00001v5wugQAA, 5006R00001wv9FxQAI, 5006R00001yJtclQAC]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 16 Mar 2022 11:36:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 44 weeks, 6 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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 44 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i06i3m:k</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5749">Sharding EMEA 2022-02-21</customfieldvalue>
    <customfieldvalue id="5815">Sharding EMEA 2022-03-07</customfieldvalue>
    <customfieldvalue id="5816">Sharding EMEA 2022-03-21</customfieldvalue>
    <customfieldvalue id="5817">Sharding EMEA 2022-04-04</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_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|i0iywn:</customfieldvalue>

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