<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:54:51 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-20651] mongos should warn when connecting to a 3.0 mongod (or older)</title>
                <link>https://jira.mongodb.org/browse/SERVER-20651</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Given that we have changed the upgrade order for the 3.2 series, we should have mongos warn() when connecting to a 3.0 shard. This can trivially be detected from the wireVersion.&lt;/p&gt;</description>
                <environment></environment>
        <key id="231623">SERVER-20651</key>
            <summary>mongos should warn when connecting to a 3.0 mongod (or older)</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="9">Done</resolution>
                                        <assignee username="misha.tyulenev@mongodb.com">Misha Tyulenev</assignee>
                                    <reporter username="adam.midvidy">Adam Midvidy</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Sep 2015 20:27:59 +0000</created>
                <updated>Wed, 25 Nov 2015 00:27:01 +0000</updated>
                            <resolved>Thu, 19 Nov 2015 23:19:45 +0000</resolved>
                                    <version>3.1.8</version>
                                    <fixVersion>3.2.0-rc4</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1093763" author="xgen-internal-githook" created="Thu, 19 Nov 2015 23:17:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;mikety&apos;, u&apos;name&apos;: u&apos;Misha Tyulenev&apos;, u&apos;email&apos;: u&apos;misha@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20651&quot; title=&quot;mongos should warn when connecting to a 3.0 mongod (or older)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20651&quot;&gt;&lt;del&gt;SERVER-20651&lt;/del&gt;&lt;/a&gt; do not allow mongos connect to mongod if mongod  does not support COMMAND protocol&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6ff0dce6e092f618f83d73f5a815c2b0cd766bcb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6ff0dce6e092f618f83d73f5a815c2b0cd766bcb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1044885" author="rassi@10gen.com" created="Mon, 28 Sep 2015 14:51:35 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Also, when we last spoke about this Andy Schwerin, you said that we shouldn&apos;t actually break anything if a 3.2 mongos talks to a 3.0 mongod, as it would probably do more harm than good. &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I was under the impression that 3.2 mongos connects to shards with ScopedDbConnection and communicates operation-level shard version information, which 3.0 shards won&apos;t understand.  In addition, 3.2 mongos runs all query operations with the find command, which 3.0 shards won&apos;t understand.&lt;/p&gt;</comment>
                            <comment id="1044824" author="adam.midvidy" created="Mon, 28 Sep 2015 14:15:40 +0000"  >&lt;p&gt;A 3.0 mongod has maxWireVersion of 3 (RELEASE_2_7_7) and a minWireVersion of 0.&lt;/p&gt;

&lt;p&gt;A 3.2 mongos (with CSRS enabled) will have maxWireVersion of 4 (Find Command). If we bump minWireVersion to 4 as well, then the mongos should refuse to connect to a 3.0 mongod as the two ranges would have no overlap.  &lt;/p&gt;

&lt;p&gt;This has two problems:&lt;br/&gt;
(1) - it doesn&apos;t look like we currently reject connections with mismatched wireVersions, although this would be trivial to implement&lt;br/&gt;
(2) - it would break old drivers that don&apos;t support wireVersion 4.&lt;/p&gt;


&lt;p&gt;Also, when we last spoke about this &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt;, you said that we shouldn&apos;t actually break anything if a 3.2 mongos talks to a 3.0 mongod, as it would probably do more harm than good. In that case, we shouldn&apos;t do any of this - the wireVersion idea was just a way of making such connections fail in a relatively clean way.&lt;/p&gt;</comment>
                            <comment id="1044806" author="schwerin" created="Mon, 28 Sep 2015 13:59:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=adam.midvidy&quot; class=&quot;user-hover&quot; rel=&quot;adam.midvidy&quot;&gt;adam.midvidy&lt;/a&gt;, can you clarify how bumping minWireVersion achieves the goal of this ticket or something equivalent?&lt;/p&gt;</comment>
                            <comment id="1044236" author="adam.midvidy" created="Sat, 26 Sep 2015 16:32:48 +0000"  >&lt;p&gt;Maybe what we actually want to do is bump minWireVersion on mongos to FIND_COMMAND. (Which would accomplish what you want &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jason.rassi&quot; class=&quot;user-hover&quot; rel=&quot;jason.rassi&quot;&gt;jason.rassi&lt;/a&gt;)&lt;/p&gt;</comment>
                            <comment id="1043914" author="rassi@10gen.com" created="Fri, 25 Sep 2015 20:38:57 +0000"  >&lt;p&gt;Instead, I think we should consider treating this event as a connection failure or an operation failure.  Due to the lack of OP_COMMAND on 3.0, can any operation be run successfully on these connections?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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>Fri, 25 Sep 2015 20:38:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 12 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_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 12 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>adam.midvidy</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>misha.tyulenev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrktfr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdwcv:</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="719">Sharding C (11/20/15)</customfieldvalue>
    <customfieldvalue id="750">Sharding D (12/11/15)</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|hsfmbb:</customfieldvalue>

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