<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:46:22 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-59105] Remove parsing of &apos;canThrowSSVOnIgnored&apos;</title>
                <link>https://jira.mongodb.org/browse/SERVER-59105</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Due to backward compatibility reasons, a router on version 5.0 will send the parameter as true even though it is not taken into account, this means that shards with latest versions must attempt to parse and ignore the parameter (in case there is a router with 5.0), but are under no obligation to send it. On the next major release we can completely remove &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1746aef0112ada4c01fc3c17d482e68eed1ae3ee/src/mongo/s/chunk_version.cpp#L87-L91&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the parsing&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1841198">SERVER-59105</key>
            <summary>Remove parsing of &apos;canThrowSSVOnIgnored&apos;</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-sharding-emea">[DO NOT USE] Backlog - Sharding EMEA</assignee>
                                    <reporter username="marcos.grillo@mongodb.com">Marcos Jos&#233; Grillo Ramirez</reporter>
                        <labels>
                            <label>shardingemea-qw</label>
                    </labels>
                <created>Wed, 4 Aug 2021 17:29:39 +0000</created>
                <updated>Tue, 6 Dec 2022 01:03:24 +0000</updated>
                            <resolved>Thu, 3 Feb 2022 15:53:27 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4086087" author="marcos.grillo" created="Mon, 27 Sep 2021 12:45:56 +0000"  >&lt;p&gt;&amp;gt;&amp;gt; Is the position of the boolean field always fixed at the 3rd position and the timestamp on the 4th position?&lt;/p&gt;

&lt;p&gt;Yes&lt;/p&gt;

&lt;p&gt;&amp;gt;&amp;gt; I.e., in master (6.0) is the format like this currently: &lt;span class=&quot;error&quot;&gt;&amp;#91;major|minor, epoch, canThrowSSVOnIgnored (never missing, always true), timestamp (never missing)&amp;#93;&lt;/span&gt; ?&lt;/p&gt;

&lt;p&gt;No, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/bdb790d39e753b99fa21d844f9f0fc03c5ac533d/src/mongo/s/chunk_version.cpp#L179-L185&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;in master (6.0)&lt;/a&gt; is:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;major|minor, epoch, timestamp (never missing)&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;But &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d48cba822ea5c494ae16307cde56a2b58580a037/src/mongo/s/chunk_version.cpp#L172-L183&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;in 5.0&lt;/a&gt; is:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;major|minor, epoch, canThrowSSVOnIgnored (always true), timestamp (never missing)&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;So, the compatibility problem would surface in mixed versions.&lt;/p&gt;</comment>
                            <comment id="4071132" author="kaloian.manassiev" created="Mon, 20 Sep 2021 12:51:05 +0000"  >&lt;p&gt;Ah, yes, now I get it. The problem is with the positions of the values, because they are sent as an array and not as fields in a BSON object. Is the position of the boolean field always fixed at the 3rd position and the timestamp on the 4th position?&lt;/p&gt;

&lt;p&gt;I.e., in master (6.0) is the format like this currently: &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;major|minor, epoch, canThrowSSVOnIgnored (never missing, always true), timestamp (never missing)&amp;#93;&lt;/span&gt;&lt;/tt&gt; ?&lt;/p&gt;</comment>
                            <comment id="4070941" author="marcos.grillo" created="Mon, 20 Sep 2021 10:35:08 +0000"  >&lt;p&gt;In the presence of mixed versions, a 6.0 mongod can have two possible scenarios:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;A 5.0 router which will send the boolean and the timestamp&lt;/li&gt;
	&lt;li&gt;A 6.0 router which will send the timestamp&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If we throw out the parsing of the boolean, everything will work fine with a 6.0 router, but, with a 5.0 router, we&apos;ll &lt;a href=&quot;https://github.com/mongodb/mongo/blob/432c7768713f5cfd21e888fdf74f04b5b3d82d4d/src/mongo/s/chunk_version.cpp#L95-L101&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mistakenly parse the boolean as a timestamp&lt;/a&gt;. The main problem is that the structure is an array and we added yet another field (the timestamp) at the end. Does it make sense &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev&quot;&gt;kaloian.manassiev&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="4052099" author="kaloian.manassiev" created="Mon, 13 Sep 2021 06:31:04 +0000"  >&lt;p&gt;Didn&apos;t we add that field being sent as `true` from 4.4.0 onwards, and 4.4.0 shards are parsing it in order to make sure they don&apos;t throw SSV to a 4.2 router? If that is the case, then we can just throw out the parsing as of 5.0, right?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1976944">SERVER-63269</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2024020">SERVER-65530</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25133"><![CDATA[Sharding EMEA]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 13 Sep 2021 06:31:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 19 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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 19 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding-emea</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>marcos.grillo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzw26f:</customfieldvalue>

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

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