<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:40:07 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-35529] Rollback fuzzer suites do not need to shutdown nodes in states where rollbacks do not occur</title>
                <link>https://jira.mongodb.org/browse/SERVER-35529</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The &lt;tt&gt;rollback_fuzzer_unclean_shutdowns&lt;/tt&gt;/&lt;tt&gt;rollback_fuzzer_clean_shutdowns&lt;/tt&gt; trigger rollbacks via the &lt;tt&gt;RollbackTest&lt;/tt&gt; fixture, but inject clean and unclean node restarts at random points within the test. The RollbackTest fixture models a test execution as a state machine. At each state, we expect each node and the overall replica set topology to be in a particular state, which should (for the most part) not change until we execute the next state transition. There are five states of the RollbackTest:&lt;/p&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;tt&gt;kStopped&lt;/tt&gt; - test is no longer running&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;kRollbackOps&lt;/tt&gt; - Old primary is isolated from a secondary. Writes done to it will be rolled back&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;kSyncSourceOpsBeforeRollback&lt;/tt&gt; - New primary has been elected, can take writes.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;kSyncSourceOpsDuringRollback&lt;/tt&gt; - Rollback on old primary should be in progress.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;kSteadyStateOps&lt;/tt&gt; - Rollback should have completed and replica set should now be in steady state.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The goal of running the RollbackFuzzer with node shutdowns was mainly to exercise (1) shutting down a node while it is in the process of rollback or recovery and (2) shutting down a node that is currently being used as a sync source for a node undergoing rollback. These goals can still be achieved without injecting node restarts into states &lt;tt&gt;kRollbackOps&lt;/tt&gt; or &lt;tt&gt;kSyncSourceOpsBeforeRollback&lt;/tt&gt;. The only states we really need to be injecting restarts into are &lt;tt&gt;kSyncSourceOpsDuringRollback&lt;/tt&gt;, since this is the state where rollback may be occurring.&lt;/p&gt;

&lt;p&gt;Removing unnecessary restarts will, ideally, reduce test times, and make debugging easier, since the logs will no longer include the many extra state transitions introduced by replica set node restarts. &lt;/p&gt;

&lt;p&gt;An easy way to implement this would be to make the &lt;tt&gt;restartNode&lt;/tt&gt; function nilpotent when in certain states in RollbackTest. Alternatively, we could update the fuzzer to only add restart commands at certain points in the test.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="557543">SERVER-35529</key>
            <summary>Rollback fuzzer suites do not need to shutdown nodes in states where rollbacks do not occur</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="william.schultz@mongodb.com">William Schultz</reporter>
                        <labels>
                            <label>gm-ack</label>
                            <label>rollback-fuzzer</label>
                            <label>stm</label>
                    </labels>
                <created>Mon, 11 Jun 2018 17:20:10 +0000</created>
                <updated>Tue, 6 Dec 2022 03:26:38 +0000</updated>
                                                                            <component>Replication</component>
                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4539990" author="steven.vannelli" created="Tue, 10 May 2022 21:32:56 +0000"  >&lt;p&gt;Moving this ticket to the Backlog and removing the &quot;Backlog&quot; fixVersion as per our latest policy for using fixVersions. &lt;/p&gt;</comment>
                            <comment id="2714674" author="ian@10gen.com" created="Thu, 9 Jan 2020 17:17:22 +0000"  >&lt;p&gt;Possibly of value, but not worth picking up until we have completed some prior improvements in the rollback fuzzer (coverage-guided fuzzer).&lt;/p&gt;</comment>
                            <comment id="1918678" author="greg.mckeon" created="Tue, 12 Jun 2018 18:18:38 +0000"  >&lt;p&gt;Send this to TIG to see if they think it&apos;s worth doing.&lt;/p&gt;</comment>
                            <comment id="1917227" author="william.schultz" created="Mon, 11 Jun 2018 17:23:56 +0000"  >&lt;p&gt;I also believe that this change will help mitigate the symptoms in BF-9145.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25142"><![CDATA[Server Tooling & Methods]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 Jun 2018 18:18:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 39 weeks, 1 day 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 39 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-stm</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu0avj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htr6zz:</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_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|htzx4v:</customfieldvalue>

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