<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:42: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-36311] Add stepdowns, shutdowns, and crashes to replica_sets_multi_stmt_txn_jscore_passthrough.yml</title>
                <link>https://jira.mongodb.org/browse/SERVER-36311</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This requires similar retryability buffering as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36310&quot; title=&quot;Unblacklist transactions from all jscore passthroughs that use replica sets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36310&quot;&gt;&lt;del&gt;SERVER-36310&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="576734">SERVER-36311</key>
            <summary>Add stepdowns, shutdowns, and crashes to replica_sets_multi_stmt_txn_jscore_passthrough.yml</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="janna.golden@mongodb.com">Janna Golden</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                            <label>prepare_testing</label>
                    </labels>
                <created>Thu, 26 Jul 2018 18:46:51 +0000</created>
                <updated>Sun, 29 Oct 2023 22:29:29 +0000</updated>
                            <resolved>Thu, 15 Nov 2018 17:11:31 +0000</resolved>
                                                    <fixVersion>4.1.6</fixVersion>
                                    <component>Replication</component>
                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2063429" author="xgen-internal-githook" created="Thu, 15 Nov 2018 17:11:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jannaerin&apos;, &apos;email&apos;: &apos;golden.janna@gmail.com&apos;, &apos;username&apos;: &apos;jannaerin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36311&quot; title=&quot;Add stepdowns, shutdowns, and crashes to replica_sets_multi_stmt_txn_jscore_passthrough.yml&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36311&quot;&gt;&lt;del&gt;SERVER-36311&lt;/del&gt;&lt;/a&gt; Add stepdowns, crashes, and shutdowns to replica_sets_multi_stmt_txn_jscore_passthrough suite&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dbafa9a288019008fd7a4ac975c298ec0bf40534&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dbafa9a288019008fd7a4ac975c298ec0bf40534&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1963887" author="max.hirschhorn@10gen.com" created="Thu, 2 Aug 2018 13:44:14 +0000"  >&lt;p&gt;There&apos;s a few parts to be able to retry an entire transaction in our jsCore passthroughs:&lt;/p&gt;

&lt;p&gt;1. The &lt;tt&gt;auto_retry_on_network_error.js&lt;/tt&gt; override file should be changed so that it sets a global variable (e.g. a new property called &lt;tt&gt;TestData.retryingOnNetworkError&lt;/tt&gt;) that indicates a call to &lt;tt&gt;Mongo.prototype.runCommand()&lt;/tt&gt; aka the &lt;tt&gt;clientFunction&lt;/tt&gt; is being retried. This variable should be reset/unset when the retries are finished - either because the attempt succeeded or were exhausted.&lt;/p&gt;

&lt;p&gt;2. The &lt;tt&gt;runCommandWithTransactions()&lt;/tt&gt; function in &lt;tt&gt;jstests/libs/txns/txn_override.js&lt;/tt&gt; should then check this &lt;tt&gt;TestData.retryingOnNetworkError&lt;/tt&gt; flag.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;2a. If &lt;tt&gt;TestData.retryingOnNetworkError=false&lt;/tt&gt;, then the &lt;tt&gt;runCommandWithTransactions()&lt;/tt&gt; function in &lt;tt&gt;jstests/libs/txns/txn_override.js&lt;/tt&gt; should append the pair of &lt;tt&gt;commandObj&lt;/tt&gt; and &lt;tt&gt;makeFuncArgs&lt;/tt&gt; to a private, file-scoped array (i.e. declared as &lt;tt&gt;let ops = []&lt;/tt&gt; in the immediate-invoked function expression for the module). If the transaction commits successfully, then the array should be emptied.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;2b. If &lt;tt&gt;TestData.retryingOnNetworkError=true&lt;/tt&gt;, then the &lt;tt&gt;dbName&lt;/tt&gt;, &lt;tt&gt;commandName&lt;/tt&gt;, and &lt;tt&gt;commandObj&lt;/tt&gt; arguments should be ignored because #2a would have ensured they were already added to the &lt;tt&gt;ops&lt;/tt&gt; array. Instead, the &lt;tt&gt;runCommandWithTransactions()&lt;/tt&gt; function should iterate over the &lt;tt&gt;commandObj&lt;/tt&gt; and &lt;tt&gt;makeFuncArgs&lt;/tt&gt; pairs and call &lt;tt&gt;func.apply(conn, makeFuncArgs(commandObj)&lt;/tt&gt; on each of them. Some care will need to be taken to increment the &lt;tt&gt;txnNumber&lt;/tt&gt; field in each of the stashed operations to ensure a new transaction is started on the server.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: The &lt;tt&gt;load(.../txn_override.js)&lt;/tt&gt; call must occur before the &lt;tt&gt;load(.../auto_retry_on_network_error.js)&lt;/tt&gt; call to make it so that the &lt;tt&gt;runWithRetriesOnNetworkErrors()&lt;/tt&gt; function calls the &lt;tt&gt;runCommandWithTransactions()&lt;/tt&gt; function. This is due to the order in which for the two override files to be able to work together must observe and redefine the &lt;tt&gt;Mongo.prototype.runCommand()&lt;/tt&gt; function.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="606224">SERVER-37179</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="627716">SERVER-37869</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="629990">SERVER-37972</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="576733">SERVER-36310</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="669763">SERVER-38936</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.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>Thu, 2 Aug 2018 13:44:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 12 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-37179'>SERVER-37179</a></s>]]></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-1032</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, 12 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>janna.golden@mongodb.com</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu3iqn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htr2i7:</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="2451">Sharding 2018-08-13</customfieldvalue>
    <customfieldvalue id="2452">Sharding 2018-08-27</customfieldvalue>
    <customfieldvalue id="2481">Sharding 2018-09-10</customfieldvalue>
    <customfieldvalue id="2482">Sharding 2018-09-24</customfieldvalue>
    <customfieldvalue id="2538">Sharding 2018-10-08</customfieldvalue>
    <customfieldvalue id="2539">Sharding 2018-10-22</customfieldvalue>
    <customfieldvalue id="2540">Sharding 2018-11-05</customfieldvalue>
    <customfieldvalue id="2581">Sharding 2018-11-19</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|hu34zz:</customfieldvalue>

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