<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:23:28 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-30341] Add FCV to isMaster</title>
                <link>https://jira.mongodb.org/browse/SERVER-30341</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently there is no way to tell what is the version of the server connected to a mongos.&lt;br/&gt;
this makes impossible to make a decision if mongos needs to wait for keys from config server which will generate them only fin FCV 3.6.&lt;/p&gt;

&lt;p&gt;Suggested implementation: It will be easy to get from the FCV of config shard from the isMaster response in mongos if this field would  be there. &lt;/p&gt;</description>
                <environment></environment>
        <key id="408642">SERVER-30341</key>
            <summary>Add FCV to isMaster</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="tess.avitabile@mongodb.com">Tess Avitabile</assignee>
                                    <reporter username="misha.tyulenev@mongodb.com">Misha Tyulenev</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Jul 2017 17:41:36 +0000</created>
                <updated>Tue, 15 Aug 2017 12:29:33 +0000</updated>
                            <resolved>Mon, 14 Aug 2017 21:55:03 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1648410" author="schwerin" created="Tue, 15 Aug 2017 12:29:33 +0000"  >&lt;p&gt;To close the loop, I was reluctant to add fcv to ismaster without some consideration because we already have other version checking techniques using wire version in ismaster. Wire version isn&apos;t really meeting our needs (see driver feature selection logic), but I don&apos;t know if fcv would, either. Feature availability checking is in need of a broader review, and until we do that, I want us to avoid adding new ways.&lt;/p&gt;

&lt;p&gt;If Misha had been truly stuck, I&apos;d reconsider.&lt;/p&gt;</comment>
                            <comment id="1648128" author="tess.avitabile" created="Mon, 14 Aug 2017 21:54:50 +0000"  >&lt;p&gt;Thanks. In that case, I will close this as won&apos;t fix, since I think the best solution for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30624&quot; title=&quot;Add featureCompatibilityVersion to serverStatus output&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30624&quot;&gt;&lt;del&gt;SERVER-30624&lt;/del&gt;&lt;/a&gt; would be to add the &lt;tt&gt;featureCompatibilityVersion&lt;/tt&gt; to the &lt;tt&gt;serverStatus&lt;/tt&gt; output.&lt;/p&gt;</comment>
                            <comment id="1648123" author="misha.tyulenev" created="Mon, 14 Aug 2017 21:49:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tess.avitabile&quot; class=&quot;user-hover&quot; rel=&quot;tess.avitabile&quot;&gt;tess.avitabile&lt;/a&gt; that&apos;s correct i implemented the workaround on mongos.&lt;/p&gt;</comment>
                            <comment id="1648081" author="tess.avitabile" created="Mon, 14 Aug 2017 21:06:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=misha.tyulenev&quot; class=&quot;user-hover&quot; rel=&quot;misha.tyulenev&quot;&gt;misha.tyulenev&lt;/a&gt;, it sounds like you have a work-around for this issue. Is that correct?&lt;/p&gt;

&lt;p&gt;&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;, I&apos;m curious why you think it is not a good idea to include &lt;tt&gt;featureCompatibilityVersion&lt;/tt&gt; in the &lt;tt&gt;isMaster&lt;/tt&gt; response. There is a request in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30624&quot; title=&quot;Add featureCompatibilityVersion to serverStatus output&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30624&quot;&gt;&lt;del&gt;SERVER-30624&lt;/del&gt;&lt;/a&gt; to make it possible to read the &lt;tt&gt;featureCompatibilityVersion&lt;/tt&gt; without the &lt;tt&gt;getParameter&lt;/tt&gt; privilege. One option is to include it in the &lt;tt&gt;serverStatus&lt;/tt&gt; output. That seems very reasonable, since we include the binary version in the &lt;tt&gt;serverStatus&lt;/tt&gt; output. Another is to include it in the &lt;tt&gt;isMaster&lt;/tt&gt; response. I would recommend that if it is a requirement for the Sharding team.&lt;/p&gt;</comment>
                            <comment id="1632916" author="misha.tyulenev" created="Wed, 26 Jul 2017 23:02:15 +0000"  >&lt;p&gt;Sure, I made changes to add internalClient to all isMaster requests sent by RSM so it detects the change (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30249&quot; title=&quot;Mongos does not  attach operationTime to the results if the keys are not available&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30249&quot;&gt;&lt;del&gt;SERVER-30249&lt;/del&gt;&lt;/a&gt;)&lt;br/&gt;
it works but it looks a little opaque since the isMaster returns minWireVersion == maxWireVersion only for internal client and when FSV = 3.6 (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/replication_info.cpp#L360&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/replication_info.cpp#L360&lt;/a&gt;. so the client the code needs to check that minWireVersion == maxWireVersion.&lt;br/&gt;
the core issue is that FCV 3.4 does not mean that maxWireVersion is equivalent to FCV 3.4 features, wireVersion is a feature of the binary of the sender. Hence we need to use those indirect detection for finding out FSV of the sender.&lt;/p&gt;</comment>
                            <comment id="1632843" author="schwerin" created="Wed, 26 Jul 2017 21:42:25 +0000"  >&lt;p&gt;I&apos;d prefer to stick to using the wire protocol version.&lt;/p&gt;</comment>
                            <comment id="1632553" author="tess.avitabile" created="Wed, 26 Jul 2017 18:16:56 +0000"  >&lt;p&gt;The first time a mongos connects to a mongod, it can determine the FCV. The first isMaster command the mongos sends to the mongod includes the internalClient field. When that is present, if the mongod has FCV=3.6, it will return min wire version = max wire version. We could add internalClient to all isMaster commands sent by the mongos, so that it can detect changes in the FCV using the wire version range. Or we could add the FCV to the isMaster response.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="415603">SERVER-30624</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Jul 2017 18:16:56 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 26 weeks, 1 day 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 26 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>misha.tyulenev@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbp1b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht3iov:</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="1798">Query 2017-07-31</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|htbb3z:</customfieldvalue>

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