<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:54:40 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-40335] Don&apos;t wait for election handoff in ReplSetTest.stopSet()</title>
                <link>https://jira.mongodb.org/browse/SERVER-40335</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38994&quot; title=&quot;Step down on SIGTERM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38994&quot;&gt;&lt;del&gt;SERVER-38994&lt;/del&gt;&lt;/a&gt; introduced a new step in process shutdown.  When a process is exiting cleanly due to a signal, we now attempt a stepdown as if from a default argument shutdown command.&lt;/p&gt;

&lt;p&gt;This introduces an extra 10 second wait for many of our tests, which we don&apos;t need.&lt;/p&gt;

&lt;p&gt;Adding a setParameter to control that timeout would allow us to claw some of that time back. &lt;/p&gt;</description>
                <environment></environment>
        <key id="722732">SERVER-40335</key>
            <summary>Don&apos;t wait for election handoff in ReplSetTest.stopSet()</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="mira.carey@mongodb.com">Mira Carey</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Mar 2019 21:13:33 +0000</created>
                <updated>Sun, 29 Oct 2023 22:22:37 +0000</updated>
                            <resolved>Mon, 15 Apr 2019 13:04:49 +0000</resolved>
                                                    <fixVersion>3.6.15</fixVersion>
                    <fixVersion>4.0.10</fixVersion>
                    <fixVersion>4.1.11</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2469528" author="xgen-internal-githook" created="Mon, 7 Oct 2019 17:12:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rahul Sundararaman&apos;, &apos;email&apos;: &apos;rahul.sundararaman@mongodb.com&apos;}
&lt;p&gt;Message: &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; Add waitForStepDownOnNonCommandShutdown parameter&lt;/p&gt;

&lt;p&gt;When ReplSetTest.stopSet() kills the primary with SIGTERM, it must wait for the&lt;br/&gt;
primary to finish election handoff or, in cases where there is no candidate,&lt;br/&gt;
for the 10-second election handoff timeout to expire. Add a parameter and use&lt;br/&gt;
it in ReplSetTest.stopSet() to end tests quickly.&lt;/p&gt;

&lt;p&gt;Disable waitForStepDownOnNonCommandShutdown for replica sets started directly&lt;br/&gt;
by resmoke.py so those sets shutdown quickly, too.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2a20c5b)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d89bfb85a3f5b750eac0cdc9b1a7ae08ec05eaa0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d89bfb85a3f5b750eac0cdc9b1a7ae08ec05eaa0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2447376" author="xgen-internal-githook" created="Wed, 2 Oct 2019 14:31:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jameswahlin&apos;, &apos;email&apos;: &apos;james.wahlin@mongodb.com&apos;, &apos;name&apos;: &apos;James Wahlin&apos;}
&lt;p&gt;Message: Revert &quot;&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; Add waitForStepDownOnNonCommandShutdown parameter&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 36ea8ab7ef05b9dedb133987d825a8b39cdcbfdd.&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c86a9f91a901dc7ea3357a3caab9ec4448856bad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c86a9f91a901dc7ea3357a3caab9ec4448856bad&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2443114" author="xgen-internal-githook" created="Tue, 1 Oct 2019 15:45:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;rahul.sundararaman@mongodb.com&apos;, &apos;name&apos;: &apos;Rahul Sundararaman&apos;}
&lt;p&gt;Message: &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; Add waitForStepDownOnNonCommandShutdown parameter&lt;/p&gt;

&lt;p&gt;When ReplSetTest.stopSet() kills the primary with SIGTERM, it must wait for the&lt;br/&gt;
primary to finish election handoff or, in cases where there is no candidate,&lt;br/&gt;
for the 10-second election handoff timeout to expire. Add a parameter and use&lt;br/&gt;
it in ReplSetTest.stopSet() to end tests quickly.&lt;/p&gt;

&lt;p&gt;Disable waitForStepDownOnNonCommandShutdown for replica sets started directly&lt;br/&gt;
by resmoke.py so those sets shutdown quickly, too.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2a20c5b7095a07141fafd21047cbfe49a502301d)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/36ea8ab7ef05b9dedb133987d825a8b39cdcbfdd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/36ea8ab7ef05b9dedb133987d825a8b39cdcbfdd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2214292" author="xgen-internal-githook" created="Mon, 15 Apr 2019 21:08:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &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; Add waitForStepDownOnNonCommandShutdown parameter&lt;/p&gt;

&lt;p&gt;When ReplSetTest.stopSet() kills the primary with SIGTERM, it must wait for the&lt;br/&gt;
primary to finish election handoff or, in cases where there is no candidate,&lt;br/&gt;
for the 10-second election handoff timeout to expire. Add a parameter and use&lt;br/&gt;
it in ReplSetTest.stopSet() to end tests quickly.&lt;/p&gt;

&lt;p&gt;Disable waitForStepDownOnNonCommandShutdown for replica sets started directly&lt;br/&gt;
by resmoke.py so those sets shutdown quickly, too.&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2a20c5b7095a07141fafd21047cbfe49a502301d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2a20c5b7095a07141fafd21047cbfe49a502301d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2213133" author="xgen-internal-githook" created="Mon, 15 Apr 2019 13:03:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &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; Add waitForStepDownOnNonCommandShutdown parameter&lt;/p&gt;

&lt;p&gt;When ReplSetTest.stopSet() kills the primary with SIGTERM, it must wait for the&lt;br/&gt;
primary to finish election handoff or, in cases where there is no candidate,&lt;br/&gt;
for the 10-second election handoff timeout to expire. Add a parameter and use&lt;br/&gt;
it in ReplSetTest.stopSet() to end tests quickly.&lt;/p&gt;

&lt;p&gt;Disable waitForStepDownOnNonCommandShutdown for replica sets started directly&lt;br/&gt;
by resmoke.py so those sets shutdown quickly, too.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/90e078c73d49da75dd061005efc607c4e2721ae9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/90e078c73d49da75dd061005efc607c4e2721ae9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2205928" author="jesse" created="Mon, 8 Apr 2019 22:00:42 +0000"  >&lt;p&gt;Would we prefer a simpler enableElectionHandoffAtShutdown instead of a parameter that changes the timeout? Arguments in favor:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;It&apos;s analogous to an existing parameter, enableElectionHandoff, which is a boolean instead of a timeout&lt;/li&gt;
	&lt;li&gt;It&apos;s simpler, it can only be on or off&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="720416">SERVER-40252</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="720416">SERVER-40252</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>6.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="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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 8 Apr 2019 22:00:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 18 weeks, 2 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 18 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>41.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hurtin:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huhe7j:</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="2859">Service Arch 2019-04-22</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|hurfrz:</customfieldvalue>

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