<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:24:52 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-30745] Prohibit unsafe comparisons against feature compatibility version</title>
                <link>https://jira.mongodb.org/browse/SERVER-30745</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;To facilitate cleaning up dead code after splitting the master development branch from the 3.6 release branch, comparisons against serverGlobalOptions.featureCompatibility.version should be restricted to asking the question &quot;is the current version 3.4?&quot; By making this restriction, when we remove the constants for v3.4 in the development branch and add the v3.8 constants instead, the compiler will direct our developers to branches that are now always-taken or never-taken.&lt;/p&gt;

&lt;p&gt;Note, this task does not include auditing comparisons against the feature compatibility version to ensure that they are race-free or otherwise correct.&lt;/p&gt;</description>
                <environment></environment>
        <key id="418034">SERVER-30745</key>
            <summary>Prohibit unsafe comparisons against feature compatibility version</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="backlog-server-sharding">[DO NOT USE] Backlog - Sharding Team</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Aug 2017 18:51:47 +0000</created>
                <updated>Mon, 30 Oct 2023 23:14:10 +0000</updated>
                            <resolved>Wed, 18 Oct 2017 14:35:34 +0000</resolved>
                                                    <fixVersion>3.6.0-rc0</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1702581" author="tess.avitabile" created="Wed, 18 Oct 2017 14:39:15 +0000"  >&lt;p&gt;Thanks, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=louis.williams&quot; class=&quot;user-hover&quot; rel=&quot;louis.williams&quot;&gt;louis.williams&lt;/a&gt;, I linked &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31438&quot; title=&quot;Remove featureCompatibilityVersion parameter for IndexDescriptor::getDefaultIndexVersion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31438&quot;&gt;&lt;del&gt;SERVER-31438&lt;/del&gt;&lt;/a&gt; as a dependency of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31608&quot; title=&quot;FeatureCompatibility Version enum is redundant with public methods&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31608&quot;&gt;&lt;del&gt;SERVER-31608&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1702577" author="louis.williams" created="Wed, 18 Oct 2017 14:36:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31438&quot; title=&quot;Remove featureCompatibilityVersion parameter for IndexDescriptor::getDefaultIndexVersion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31438&quot;&gt;&lt;del&gt;SERVER-31438&lt;/del&gt;&lt;/a&gt; should also be resolved&lt;/p&gt;</comment>
                            <comment id="1702568" author="tess.avitabile" created="Wed, 18 Oct 2017 14:35:04 +0000"  >&lt;p&gt;Thanks for pointing me to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31608&quot; title=&quot;FeatureCompatibility Version enum is redundant with public methods&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31608&quot;&gt;&lt;del&gt;SERVER-31608&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=esha.maharishi&quot; class=&quot;user-hover&quot; rel=&quot;esha.maharishi&quot;&gt;esha.maharishi&lt;/a&gt;. It looks like &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt; requested that we remove &lt;tt&gt;getVersion()&lt;/tt&gt; as part of that work. I will resolve this ticket and restore the original fixVersion.&lt;/p&gt;</comment>
                            <comment id="1702156" author="milkie" created="Wed, 18 Oct 2017 01:06:25 +0000"  >&lt;p&gt;There&apos;s already a commit in master for this ticket, so you&apos;ll have to close this and do further work on a different ticket, in order for the fixVersion field to be accurate.&lt;/p&gt;</comment>
                            <comment id="1702005" author="esha.maharishi@10gen.com" created="Tue, 17 Oct 2017 22:00:43 +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 is true, the commit on this got us most of the way there, but not completely.&lt;/p&gt;

&lt;p&gt;Re-opening this ticket with Needs Triage and linking it as related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31608&quot; title=&quot;FeatureCompatibility Version enum is redundant with public methods&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31608&quot;&gt;&lt;del&gt;SERVER-31608&lt;/del&gt;&lt;/a&gt;, which might take it the rest of the way.&lt;/p&gt;</comment>
                            <comment id="1701957" author="tess.avitabile" created="Tue, 17 Oct 2017 21:18:47 +0000"  >&lt;p&gt;I don&apos;t think this work is complete, since it is still possible to call &lt;a href=&quot;https://github.com/mongodb/mongo/blob/3d42a318626e059b2669356bb5d39056b8fa1b76/src/mongo/db/server_options.h#L170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;getVersion()&lt;/tt&gt;&lt;/a&gt;. There is still some confusion on the Server team about whether &lt;tt&gt;getVersion()&lt;/tt&gt; or &lt;tt&gt;isFullyUpgradedTo36()&lt;/tt&gt; should be used.&lt;/p&gt;</comment>
                            <comment id="1692030" author="louis.williams" created="Fri, 6 Oct 2017 22:09:09 +0000"  >&lt;p&gt;There are some non-compliant usages of featureCompatibility.getVersion(), and I have filed a separate ticket here: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31438&quot; title=&quot;Remove featureCompatibilityVersion parameter for IndexDescriptor::getDefaultIndexVersion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31438&quot;&gt;&lt;del&gt;SERVER-31438&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1692027" author="xgen-internal-githook" created="Fri, 6 Oct 2017 22:06:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;louis.williams@mongodb.com&apos;, &apos;name&apos;: &apos;Louis Williams&apos;, &apos;username&apos;: &apos;louiswilliams&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30745&quot; title=&quot;Prohibit unsafe comparisons against feature compatibility version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30745&quot;&gt;&lt;del&gt;SERVER-30745&lt;/del&gt;&lt;/a&gt; Prohibit unsafe comparisons against featureCompatibilityVersion&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3d42a318626e059b2669356bb5d39056b8fa1b76&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3d42a318626e059b2669356bb5d39056b8fa1b76&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1680861" author="schwerin" created="Mon, 25 Sep 2017 15:16:16 +0000"  >&lt;p&gt;Actually, I&apos;d stop progress on it for now. I want to wait for some other upgrade work to land, so I don&apos;t get in the way.&lt;/p&gt;</comment>
                            <comment id="1680797" author="greg.mckeon" created="Mon, 25 Sep 2017 14:39:10 +0000"  >&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; should this go back to in progress?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="435284">SERVER-31315</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="453660">SERVER-31783</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="446843">SERVER-31608</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>10.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25141"><![CDATA[Sharding]]></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>Mon, 25 Sep 2017 14:39:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 17 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-31315'>SERVER-31315</a></s>]]></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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 4 Oct 2017 00:00:00 +0000</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>
                            6 years, 17 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@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|htd9bb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht74zz:</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="1854">Sharding 2017-09-11</customfieldvalue>
    <customfieldvalue id="1925">Storage 2017-10-23</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 18 Aug 2017 00:00:00 +0000</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|htcve7:</customfieldvalue>

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