<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:44 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-1681] replica set primaries should step down to SECONDARY rather than RECOVERING</title>
                <link>https://jira.mongodb.org/browse/SERVER-1681</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;currently the primary if it cannot see a majority will step down.  however it steps down to recovering state not secondary.  we can step down to secondary, at least for some period of time, and still be available for reads.  or, do we not want to even allow reads in a minority partition?  perhaps this is choosable in the config.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12911">SERVER-1681</key>
            <summary>replica set primaries should step down to SECONDARY rather than RECOVERING</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="dwight@mongodb.com">Dwight Merriman</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Aug 2010 17:57:22 +0000</created>
                <updated>Tue, 12 Jul 2016 00:17:58 +0000</updated>
                            <resolved>Thu, 14 Oct 2010 21:14:45 +0000</resolved>
                                                    <fixVersion>1.7.2</fixVersion>
                                    <component>Replication</component>
                                        <votes>1</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="19216" author="auto" created="Thu, 14 Oct 2010 21:14:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;kchodorow&apos;, &apos;name&apos;: &apos;Kristina Chodorow&apos;, &apos;email&apos;: &apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: master-&amp;gt;secondary on stepdown &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1681&quot; title=&quot;replica set primaries should step down to SECONDARY rather than RECOVERING&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1681&quot;&gt;&lt;del&gt;SERVER-1681&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/de7e99dcf5bd825e6128164a33a7f75aacd42c2c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/de7e99dcf5bd825e6128164a33a7f75aacd42c2c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18437" author="kristina" created="Wed, 22 Sep 2010 17:19:26 +0000"  >&lt;p&gt;&amp;gt; can you uncomment and see if all the tests in replsets/ pass?&lt;/p&gt;

&lt;p&gt;Yes, they do.  I added the connection killing lines, too, and everything still worked (once I added a few query retries and sleeps to the tests).  I&apos;ll wait to commit until we talk.&lt;/p&gt;</comment>
                            <comment id="18335" author="dwight_10gen" created="Fri, 17 Sep 2010 20:06:44 +0000"  >&lt;p&gt;kristina, see the commented out line near &apos;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1681&quot; title=&quot;replica set primaries should step down to SECONDARY rather than RECOVERING&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1681&quot;&gt;&lt;del&gt;SERVER-1681&lt;/del&gt;&lt;/a&gt;&apos; in db/repl/rs.cpp.  can you uncomment and see if all the tests in replsets/ pass?  note they might not just because of assumptions or timing.  let&apos;s discuss more in person.&lt;/p&gt;</comment>
                            <comment id="18334" author="auto" created="Fri, 17 Sep 2010 20:06:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;dwight&apos;, &apos;name&apos;: &apos;Dwight&apos;, &apos;email&apos;: &apos;dwight@10gen.com&apos;}
&lt;p&gt;Message: towards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1681&quot; title=&quot;replica set primaries should step down to SECONDARY rather than RECOVERING&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1681&quot;&gt;&lt;del&gt;SERVER-1681&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/629f3a4c1c9c10ea0d5a1ce74d8b64b85e925f8b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/629f3a4c1c9c10ea0d5a1ce74d8b64b85e925f8b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18331" author="dwight_10gen" created="Fri, 17 Sep 2010 17:33:54 +0000"  >&lt;p&gt;Thanks.  I worry that there may be edge cases &amp;#8211; for example we don&apos;t want to transition to SECONDARY if we don&apos;t have an initial copy of the data yet, or if we are working on a rollback at the moment, or if we are in state FATAL.&lt;/p&gt;

&lt;p&gt;This is in the queue for sure though, just want to be careful.&lt;/p&gt;</comment>
                            <comment id="18003" author="melkor" created="Fri, 10 Sep 2010 08:51:31 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;This is a little patch generated from &quot;mongodb-src-r1.6.2&quot;.  This patch will assume when a server is alone in a replicaset, it becomes secondary.&lt;/p&gt;

&lt;p&gt;Best regards.&lt;/p&gt;

&lt;p&gt;Melkor&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10436" name="rs_sync.diff" size="1039" author="melkor" created="Fri, 10 Sep 2010 08:51:31 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 10 Sep 2010 08:51:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 18 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>
                            13 years, 18 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>melkor</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpgin:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hriiwn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21715</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|ht0hof:</customfieldvalue>

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