<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:45:13 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-17671] Refuse to complete initial sync from nodes with 2.4-style auth data</title>
                <link>https://jira.mongodb.org/browse/SERVER-17671</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently we have a few authentication startup checks in 3.0:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;check for indexes on system.users&lt;/li&gt;
	&lt;li&gt;check for schema version&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;These checks prevent mongod from starting even when auth is off, but without this improvement you can sync a 3.0 node from 2.6 node with the 2.4 auth schema, and it will work just fine until you try to restart the node.&lt;/p&gt;

&lt;p&gt;We should validate during initial sync that the sync source has a new enough auth schema version.&lt;/p&gt;</description>
                <environment></environment>
        <key id="190768">SERVER-17671</key>
            <summary>Refuse to complete initial sync from nodes with 2.4-style auth data</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="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="alex.komyagin@mongodb.com">Alexander Komyagin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Mar 2015 22:36:56 +0000</created>
                <updated>Fri, 9 Jun 2017 20:38:44 +0000</updated>
                            <resolved>Wed, 25 Mar 2015 19:08:43 +0000</resolved>
                                                    <fixVersion>3.0.2</fixVersion>
                    <fixVersion>3.1.1</fixVersion>
                                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="866829" author="xgen-internal-githook" created="Fri, 27 Mar 2015 23:23:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kkmongo&apos;, u&apos;name&apos;: u&apos;Kamran Khan&apos;, u&apos;email&apos;: u&apos;kamran.khan@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17671&quot; title=&quot;Refuse to complete initial sync from nodes with 2.4-style auth data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17671&quot;&gt;&lt;del&gt;SERVER-17671&lt;/del&gt;&lt;/a&gt; Test that initial sync aborts on unsupported auth schemas&lt;/p&gt;

&lt;p&gt;Closes #940&lt;/p&gt;

&lt;p&gt;Signed-off-by: Ramon Fernandez &amp;lt;ramon.fernandez@mongodb.com&amp;gt;&lt;br/&gt;
(cherry picked from commit 934bd1b10115b30eb145bbba6f9dac091dfd0353)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dd81442d6960854e072dbd308246dcad2b9525df&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dd81442d6960854e072dbd308246dcad2b9525df&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="866828" author="xgen-internal-githook" created="Fri, 27 Mar 2015 23:22:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kkmongo&apos;, u&apos;name&apos;: u&apos;Kamran Khan&apos;, u&apos;email&apos;: u&apos;kamran.khan@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17671&quot; title=&quot;Refuse to complete initial sync from nodes with 2.4-style auth data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17671&quot;&gt;&lt;del&gt;SERVER-17671&lt;/del&gt;&lt;/a&gt; Test that initial sync aborts on unsupported auth schemas&lt;/p&gt;

&lt;p&gt;Closes #940&lt;/p&gt;

&lt;p&gt;Signed-off-by: Ramon Fernandez &amp;lt;ramon.fernandez@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/934bd1b10115b30eb145bbba6f9dac091dfd0353&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/934bd1b10115b30eb145bbba6f9dac091dfd0353&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="864088" author="xgen-internal-githook" created="Wed, 25 Mar 2015 19:10:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17671&quot; title=&quot;Refuse to complete initial sync from nodes with 2.4-style auth data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17671&quot;&gt;&lt;del&gt;SERVER-17671&lt;/del&gt;&lt;/a&gt; Catch incompatible auth schema during initial sync and abort secondary.&lt;/p&gt;

&lt;p&gt;This will restrict MongoDB 3.0 to cloning from nodes with auth schemas it supports.&lt;br/&gt;
This will prevent an accidental initial sync from a 2.4 primary or a 2.6 primary&lt;br/&gt;
that has not run authSchemaUpgrade since upgrading from 2.4.&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/852ce65df2b6e6e9c6890bd8be797a8af41533d1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/852ce65df2b6e6e9c6890bd8be797a8af41533d1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="864087" author="xgen-internal-githook" created="Wed, 25 Mar 2015 19:10:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17671&quot; title=&quot;Refuse to complete initial sync from nodes with 2.4-style auth data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17671&quot;&gt;&lt;del&gt;SERVER-17671&lt;/del&gt;&lt;/a&gt; Clone admin database first during initial sync, to catch auth errors are early.&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6a65a71d9dede4c0568e2e0311a0314f07abc8e0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6a65a71d9dede4c0568e2e0311a0314f07abc8e0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="864077" author="xgen-internal-githook" created="Wed, 25 Mar 2015 19:03:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17671&quot; title=&quot;Refuse to complete initial sync from nodes with 2.4-style auth data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17671&quot;&gt;&lt;del&gt;SERVER-17671&lt;/del&gt;&lt;/a&gt; Catch incompatible auth schema during initial sync and abort secondary.&lt;/p&gt;

&lt;p&gt;This will restrict MongoDB 3.0 to cloning from nodes with auth schemas it supports.&lt;br/&gt;
This will prevent an accidental initial sync from a 2.4 primary or a 2.6 primary&lt;br/&gt;
that has not run authSchemaUpgrade since upgrading from 2.4.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d5cd0b603f5f60f7e63523fac31a2a00aa0114f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d5cd0b603f5f60f7e63523fac31a2a00aa0114f8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="863687" author="xgen-internal-githook" created="Wed, 25 Mar 2015 15:26:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17671&quot; title=&quot;Refuse to complete initial sync from nodes with 2.4-style auth data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17671&quot;&gt;&lt;del&gt;SERVER-17671&lt;/del&gt;&lt;/a&gt; Clone admin database first during initial sync, to catch auth errors are early.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bd03079b0f93097c409c9b17a0ff1c852f30b356&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bd03079b0f93097c409c9b17a0ff1c852f30b356&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="192848">SERVER-17808</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="195399">SERVER-17998</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="193254">SERVER-17826</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="313616">SERVER-25943</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="15180">3.0.2</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, 20 Mar 2015 19:48:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 46 weeks, 5 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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 25 Mar 2015 23:59:59 +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>yves.duhem</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 46 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.komyagin@mongodb.com</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlaa7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs7ain:</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_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 Mar 2015 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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hs9wov:</customfieldvalue>

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