<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:00:43 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-42525] Single-node replica sets shouldn&apos;t wait for electable caught up secondaries during shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-42525</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There are no secondaries to catch up. This probably also applies to replica sets with secondaries but only one electable replica.&lt;/p&gt;</description>
                <environment></environment>
        <key id="880840">SERVER-42525</key>
            <summary>Single-node replica sets shouldn&apos;t wait for electable caught up secondaries during shutdown</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="mihai.andrei@mongodb.com">Mihai Andrei</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 31 Jul 2019 14:52:55 +0000</created>
                <updated>Sun, 29 Oct 2023 22:18:33 +0000</updated>
                            <resolved>Mon, 9 Sep 2019 18:16:48 +0000</resolved>
                                    <version>4.2.0-rc4</version>
                                    <fixVersion>4.3.1</fixVersion>
                    <fixVersion>4.2.6</fixVersion>
                    <fixVersion>3.6.18</fixVersion>
                    <fixVersion>4.0.19</fixVersion>
                                                        <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="3032658" author="xgen-internal-githook" created="Thu, 9 Apr 2020 13:02:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42525&quot; title=&quot;Single-node replica sets shouldn&amp;#39;t wait for electable caught up secondaries during shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42525&quot;&gt;&lt;del&gt;SERVER-42525&lt;/del&gt;&lt;/a&gt; Single-node replica sets shouldn&apos;t wait for electable caught up secondaries during shutdown&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2c3e8294acf82fff975a620b5fc45778c6ef2a45)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8991b234b8c6b56e663bb7c2a996de380442698c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8991b234b8c6b56e663bb7c2a996de380442698c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3032657" author="xgen-internal-githook" created="Thu, 9 Apr 2020 13:02:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42525&quot; title=&quot;Single-node replica sets shouldn&amp;#39;t wait for electable caught up secondaries during shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42525&quot;&gt;&lt;del&gt;SERVER-42525&lt;/del&gt;&lt;/a&gt; Single-node replica sets shouldn&apos;t wait for electable caught up secondaries during shutdown&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2c3e8294acf82fff975a620b5fc45778c6ef2a45)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e3abfc3a47e1d76952d3ff4e3477b3f0440e5d3a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e3abfc3a47e1d76952d3ff4e3477b3f0440e5d3a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3019281" author="xgen-internal-githook" created="Tue, 31 Mar 2020 15:34:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42525&quot; title=&quot;Single-node replica sets shouldn&amp;#39;t wait for electable caught up secondaries during shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42525&quot;&gt;&lt;del&gt;SERVER-42525&lt;/del&gt;&lt;/a&gt; Single-node replica sets shouldn&apos;t wait for electable caught up secondaries during shutdown&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2c3e8294acf82fff975a620b5fc45778c6ef2a45)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/226949cc252af265483afbf859b446590b09b098&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/226949cc252af265483afbf859b446590b09b098&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3012227" author="rajesh.khanna" created="Mon, 30 Mar 2020 00:59:34 +0000"  >&lt;p&gt;Splunk have requested a backport of&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42525&quot; title=&quot;Single-node replica sets shouldn&amp;#39;t wait for electable caught up secondaries during shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42525&quot;&gt;&lt;del&gt;SERVER-42525&lt;/del&gt;&lt;/a&gt;&#160;on their custom release.They are in the process of shipping Splunkversion 7.3.6 the code freeze for which is Apr 3,2020. They are asking for a backport prior to their codefreeze. Given this urgency, I am approving this to be a P2.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=joe.caswell&quot; class=&quot;user-hover&quot; rel=&quot;joe.caswell&quot;&gt;joe.caswell&lt;/a&gt;&#160;please can you provide Splunk&apos;s custom release details on which this backport should be made available ?&lt;/p&gt;</comment>
                            <comment id="2413139" author="xgen-internal-githook" created="Mon, 9 Sep 2019 17:12:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42525&quot; title=&quot;Single-node replica sets shouldn&amp;#39;t wait for electable caught up secondaries during shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42525&quot;&gt;&lt;del&gt;SERVER-42525&lt;/del&gt;&lt;/a&gt; Single-node replica sets shouldn&apos;t wait for electable caught up secondaries during shutdown&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2c3e8294acf82fff975a620b5fc45778c6ef2a45&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2c3e8294acf82fff975a620b5fc45778c6ef2a45&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2367103" author="judah.schvimer" created="Mon, 12 Aug 2019 17:10:10 +0000"  >&lt;p&gt;We should also investigate removing the server parameter workaround that was previously added for this.&lt;/p&gt;</comment>
                            <comment id="2363571" author="judah.schvimer" created="Thu, 8 Aug 2019 20:16:47 +0000"  >&lt;p&gt;We will do this for single node replica sets only.&lt;/p&gt;</comment>
                            <comment id="2352595" author="jason.carey" created="Wed, 31 Jul 2019 16:04:42 +0000"  >&lt;p&gt;I think where we may have strayed off into the weeds (with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40252&quot; title=&quot;Signaling 1-node replica set to shut down now takes an extra 10 seconds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40252&quot;&gt;&lt;del&gt;SERVER-40252&lt;/del&gt;&lt;/a&gt;) was in considering any replica sets with only electable node (rather than just sets with literally one configured node).&lt;/p&gt;</comment>
                            <comment id="2352583" author="judah.schvimer" created="Wed, 31 Jul 2019 15:59:09 +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; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alyson.cabral&quot; class=&quot;user-hover&quot; rel=&quot;alyson.cabral&quot;&gt;alyson.cabral&lt;/a&gt;, we decided not to do this for our testing in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40252&quot; title=&quot;Signaling 1-node replica set to shut down now takes an extra 10 seconds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40252&quot;&gt;&lt;del&gt;SERVER-40252&lt;/del&gt;&lt;/a&gt;. I think that, as indicated by this ticket being created again, it&apos;s a bad first-touch experience with replication, something we are working to improve. I would like to change this behavior. Do you two have any further reservations? I know &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; wanted product approval for the user visible change.&lt;/p&gt;</comment>
                            <comment id="2352391" author="max.hirschhorn@10gen.com" created="Wed, 31 Jul 2019 14:56:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=redbeard0531&quot; class=&quot;user-hover&quot; rel=&quot;redbeard0531&quot;&gt;redbeard0531&lt;/a&gt;, I had reported this same issue in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40252&quot; title=&quot;Signaling 1-node replica set to shut down now takes an extra 10 seconds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40252&quot;&gt;&lt;del&gt;SERVER-40252&lt;/del&gt;&lt;/a&gt;. We added a &lt;tt&gt;waitForStepDownOnNonCommandShutdown&lt;/tt&gt; server parameter in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40335&quot; title=&quot;Don&amp;#39;t wait for election handoff in ReplSetTest.stopSet()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40335&quot;&gt;&lt;del&gt;SERVER-40335&lt;/del&gt;&lt;/a&gt; and while that addresses the similar sort of issue in our correctness infrastructure, I&apos;ll never remember to specify it when running a 1-node replica set from my terminal locally.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="968946">SERVER-43988</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>10.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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000ln34JQAQ]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 31 Jul 2019 14:56:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 43 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></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>
                            3 years, 43 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>mihai.andrei@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
            <customfieldvalue>rajesh.khanna@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hviekf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hv7drr:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3201">Repl 2019-09-09</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ol&gt;
	&lt;li&gt;&lt;tt&gt;mongod --replSet asdf&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;mongo --eval &apos;rs.initiate()&apos;&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;CTRL-C the mongod&lt;/li&gt;
	&lt;li&gt;Wait...&lt;/li&gt;
	&lt;li&gt;see the error message about &quot;No electable secondaries caught up&quot;&lt;/li&gt;
&lt;/ol&gt;
</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|hvi0tr:</customfieldvalue>

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