<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:35: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-34155] Add clean shutdowns to kill_secondaries and kill_primaries passthroughs</title>
                <link>https://jira.mongodb.org/browse/SERVER-34155</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Clean shutdowns leave the server in a different state then unclean shutdowns with respect to recover to a stable timestamp and are interesting by themselves. We do not have a lot of coverage around clean shutdowns and replication.&lt;/p&gt;</description>
                <environment></environment>
        <key id="517561">SERVER-34155</key>
            <summary>Add clean shutdowns to kill_secondaries and kill_primaries passthroughs</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="robert.guo@mongodb.com">Robert Guo</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Mar 2018 19:28:14 +0000</created>
                <updated>Sun, 29 Oct 2023 22:33:18 +0000</updated>
                            <resolved>Thu, 17 May 2018 13:35:24 +0000</resolved>
                                                    <fixVersion>4.0.0-rc0</fixVersion>
                                    <component>Replication</component>
                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1893780" author="xgen-internal-githook" created="Thu, 17 May 2018 13:35:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;robert.guo@10gen.com&apos;, &apos;username&apos;: &apos;guoyr&apos;, &apos;name&apos;: &apos;Robert Guo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34155&quot; title=&quot;Add clean shutdowns to kill_secondaries and kill_primaries passthroughs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34155&quot;&gt;&lt;del&gt;SERVER-34155&lt;/del&gt;&lt;/a&gt; add clean shutdown primary passthrough&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c87d73cd446e14a1b7779752824604196d61f609&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c87d73cd446e14a1b7779752824604196d61f609&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1865554" author="judah.schvimer" created="Mon, 16 Apr 2018 19:00:50 +0000"  >&lt;p&gt;Thanks! &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt; is to test fastcount with passthroughs that only do clean shutdowns. This passthrough proposal was to test the interaction of clean and unclean shutdown. &lt;/p&gt;</comment>
                            <comment id="1865519" author="samy.lanka" created="Mon, 16 Apr 2018 18:43:51 +0000"  >&lt;p&gt;No, at the moment it only does unclean shutdowns. &lt;/p&gt;

&lt;p&gt;Also wanted to note that the kill_primaries suite also &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c02574298a711b6de8a3d89cedcfe98040a6f55b/buildscripts/resmokeconfig/suites/replica_sets_kill_primary_jscore_passthrough.yml#L123-L134&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;explicitly excludes tests that use fast count&lt;/a&gt; and other commands that use the WiredTiger size storer. &lt;/p&gt;</comment>
                            <comment id="1865456" author="judah.schvimer" created="Mon, 16 Apr 2018 18:04:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=samy.lanka&quot; class=&quot;user-hover&quot; rel=&quot;samy.lanka&quot;&gt;samy.lanka&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt;, does the kill_primaries hook ever do a clean shutdown followed by a startup with the data files intact? I think that is the only work left to do on this ticket.&lt;/p&gt;</comment>
                            <comment id="1852686" author="judah.schvimer" created="Mon, 2 Apr 2018 20:23:16 +0000"  >&lt;p&gt;The kill_secondaries hook does a clean shutdown followed by a replica set start up with data files intact here: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/b64b512409dc84bd093d7266d5fc201177f85915/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py#L185-L194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/b64b512409dc84bd093d7266d5fc201177f85915/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py#L185-L194&lt;/a&gt;, so if kill_primaries hook in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33287&quot; title=&quot;Create passthrough that kills the primary node&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33287&quot;&gt;&lt;del&gt;SERVER-33287&lt;/del&gt;&lt;/a&gt; does the same for primaries, this ticket can become &quot;Gone Away&quot;.&lt;/p&gt;</comment>
                            <comment id="1849184" author="judah.schvimer" created="Thu, 29 Mar 2018 15:52:37 +0000"  >&lt;p&gt;One goal of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt; was to be able to test that fast count is correct across restarts. If this ticket added clean restarts to the kill suites, then we wouldn&apos;t gain that coverage because the kill suites can&apos;t expect fast count to be correct, but it seems like the kill suites already do some clean restarts.&lt;/p&gt;</comment>
                            <comment id="1849162" author="max.hirschhorn@10gen.com" created="Thu, 29 Mar 2018 15:41:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt;, I imagined doing this ticket in a similar manner to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33287&quot; title=&quot;Create passthrough that kills the primary node&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33287&quot;&gt;&lt;del&gt;SERVER-33287&lt;/del&gt;&lt;/a&gt; with the difference being that we call &lt;tt&gt;primary.mongod.stop(kill=false)&lt;/tt&gt; rather than &lt;tt&gt;primary.mongod.stop(kill=true)&lt;/tt&gt;. This means that we&apos;d be running with retryable writes enabled and a writeConcern of w=&quot;majority&quot;. Is there a different case of clean shutdown that you&apos;d want to cover in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="1849114" author="judah.schvimer" created="Thu, 29 Mar 2018 15:14:30 +0000"  >&lt;p&gt;I did not mean for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt; to be for the rollback fuzzer specifically. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33587&quot; title=&quot;Add rollback fuzzer test suite that shuts down random nodes cleanly and uncleanly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33587&quot;&gt;&lt;del&gt;SERVER-33587&lt;/del&gt;&lt;/a&gt; was more aimed at the rollback fuzzer.&lt;/p&gt;</comment>
                            <comment id="1849058" author="max.hirschhorn@10gen.com" created="Thu, 29 Mar 2018 14:49:47 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Would that be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Maybe? It isn&apos;t clear to me if you meant for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt; to be specific to the RollbackTest fixture or not.&lt;/p&gt;</comment>
                            <comment id="1847089" author="judah.schvimer" created="Tue, 27 Mar 2018 20:34:32 +0000"  >&lt;p&gt;Would that be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34150&quot; title=&quot;Create a passthrough that does clean shutdowns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34150&quot;&gt;&lt;del&gt;SERVER-34150&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="1847025" author="max.hirschhorn@10gen.com" created="Tue, 27 Mar 2018 19:53:14 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I&apos;m definitely interested in the kill_primaries hook to also have clean shutdowns that restart the node with data files intact, in addition to hard kills, but that&apos;s under development so maybe this ticket is a &quot;works as designed&quot;.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;How about we repurpose this ticket to add a clean shutdown primary version of the stepdown suite like we&apos;re doing with the kill primary version?&lt;/p&gt;</comment>
                            <comment id="1847011" author="judah.schvimer" created="Tue, 27 Mar 2018 19:44:26 +0000"  >&lt;p&gt;I guess we do already restart the fixture with data files intact &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.7.3/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py#L181-L194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. My original thought was to alternate clean and unclean shutdowns randomly, though I guess we&apos;re doing both after every 30 seconds anyways now that I look closer. I&apos;m definitely interested in the kill_primaries hook to also have clean shutdowns that restart the node with data files intact, in addition to hard kills, but that&apos;s under development so maybe this ticket is a &quot;works as designed&quot;.&lt;/p&gt;</comment>
                            <comment id="1847003" author="max.hirschhorn@10gen.com" created="Tue, 27 Mar 2018 19:38:22 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt;, could you elaborate on when you&apos;d want the secondary to be cleanly shut down in the &lt;tt&gt;replica_sets_kill_secondaries_jscore_passthrough.yml&lt;/tt&gt; test suite? My understanding is that &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.7.3/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py#L162-L163&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;sending a SIGKILL at this point in the hook&lt;/a&gt; is done to try and kill the secondary part-way into applying a batch.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="517552">SERVER-34150</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="497130">SERVER-33287</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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>Tue, 27 Mar 2018 19:38:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 38 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-988</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>
                            5 years, 38 weeks, 6 days ago
                        </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>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>robert.guo@mongodb.com</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|httpvz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htk4yf:</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="2237">TIG 2018-05-07</customfieldvalue>
    <customfieldvalue id="2271">TIG 2018-05-21</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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|httc3z:</customfieldvalue>

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