<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:16:09 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-48106] Remove all callers of FCV isVersionInitialized()</title>
                <link>https://jira.mongodb.org/browse/SERVER-48106</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The FCV not being initialized during startup and initial sync has caused numerous bugs. See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48054&quot; title=&quot; 4.2 nodes that use auth and initial sync will fail to start in 4.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48054&quot;&gt;&lt;del&gt;SERVER-48054&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45374&quot; title=&quot;Unique index that gets rebuilt as part of startup recovery/repair is using data format version as 6 or 8 and NOT 11 or 12.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45374&quot;&gt;&lt;del&gt;SERVER-45374&lt;/del&gt;&lt;/a&gt;, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48050&quot; title=&quot;FCV should be initialized before attempting to restart in-progress index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48050&quot;&gt;&lt;del&gt;SERVER-48050&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For example, we do not &lt;a href=&quot;https://github.com/mongodb/mongo/blob/72f7cde3240e4bab161e1b60b57451c793dbd428/src/mongo/db/repair_database_and_check_version.cpp#L547-L616&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;initialize the FCV during startup&lt;/a&gt; until well near the end, and before &lt;a href=&quot;https://github.com/mongodb/mongo/blob/72f7cde3240e4bab161e1b60b57451c793dbd428/src/mongo/db/repair_database_and_check_version.cpp#L385&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;indexes are rebuilt&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;During initial sync, we clone admin.system.users and admin.system.roles before admin.system.version.&lt;/p&gt;

&lt;p&gt;The end result of this ticket should be to remove all callers of &lt;a href=&quot;https://github.com/mongodb/mongo/blob/72f7cde3240e4bab161e1b60b57451c793dbd428/src/mongo/db/server_options.h#L208&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;isVersionInitialized()&lt;/a&gt;. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1347229">SERVER-48106</key>
            <summary>Remove all callers of FCV isVersionInitialized()</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="louis.williams@mongodb.com">Louis Williams</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 May 2020 20:18:25 +0000</created>
                <updated>Tue, 6 Dec 2022 02:27:41 +0000</updated>
                            <resolved>Thu, 23 Jul 2020 19:55:26 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3299538" author="connie.chen" created="Thu, 23 Jul 2020 19:55:26 +0000"  >&lt;p&gt;There is no easy way to invariant this, potentially a process change to happen during releases to check the callers.&lt;/p&gt;</comment>
                            <comment id="3294389" author="louis.williams" created="Tue, 21 Jul 2020 14:03:51 +0000"  >&lt;p&gt;Additionally, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48050&quot; title=&quot;FCV should be initialized before attempting to restart in-progress index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48050&quot;&gt;&lt;del&gt;SERVER-48050&lt;/del&gt;&lt;/a&gt; should fix many of the problems facing callers of isVersionInitialized, like index builds.&lt;/p&gt;</comment>
                            <comment id="3294387" author="louis.williams" created="Tue, 21 Jul 2020 14:03:02 +0000"  >&lt;p&gt;I had a conversation with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lingzhi.deng&quot; class=&quot;user-hover&quot; rel=&quot;lingzhi.deng&quot;&gt;lingzhi.deng&lt;/a&gt; about this. The approach that Replication is taking with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49070&quot; title=&quot;Add FCV gating helpers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49070&quot;&gt;&lt;del&gt;SERVER-49070&lt;/del&gt;&lt;/a&gt; is to replace &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a3598c1fbad542259a48505859c97414a01708ad/src/mongo/db/server_options.h#L245&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;isVersion&lt;/a&gt;, which currently bypasses the isVersionInitialized check, with a helper that invariants the version is initialized. As a result, there will be more callers of isVersionInitialized. These callers have legitimate reasons to call the function in situations where the FCV is not available (e.g. heartbeats, before startup, etc), and using the downgraded behavior is not necessarily problematic.&lt;/p&gt;

&lt;p&gt;I think we should just reschedule this to evaluate callers of isVersionInitialized before the next release. That is: ensure callers of isVersionInitialized are not defaulting to a downgraded version behavior would cause unexpected behavior when the FCV changes to the upgraded version.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1344866">SERVER-48054</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 Jul 2020 19:55:26 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 28 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>connie.chen@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxkplj:</customfieldvalue>

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

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