<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:37:48 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-34770] Retry on JavaScript execution interruptions in stepdown suites</title>
                <link>https://jira.mongodb.org/browse/SERVER-34770</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When a primary steps down, it interrupts all ongoing user operations. If a command is currently executing JavaScript (like an eval or find with $where), its MozJS scope will be &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2ed975c6d9/src/mongo/scripting/mozjs/engine.cpp#L101&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;marked as killed&lt;/a&gt;&#160;and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2ed975c6d9/src/mongo/scripting/mozjs/implscope.cpp#L235&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;return ErrorCodes::Interrupted&lt;/a&gt;. This is expected / desired behavior for a stepdown, so the stepdown passthroughs should be resilient to this error code / message combination. The &lt;tt&gt;auto_retry_on_network_error.js&lt;/tt&gt; override should be updated to retry on this response.&lt;/p&gt;

&lt;p&gt;This is separate from&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32565&quot; title=&quot;Stepdown suites should tolerate js engine errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32565&quot;&gt;&lt;del&gt;SERVER-32565&lt;/del&gt;&lt;/a&gt;, which tracks adding retries on JS engine internal errors, which may not be desired behavior.&lt;/p&gt;</description>
                <environment></environment>
        <key id="537203">SERVER-34770</key>
            <summary>Retry on JavaScript execution interruptions in stepdown suites</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="jack.mulrow@mongodb.com">Jack Mulrow</assignee>
                                    <reporter username="jack.mulrow@mongodb.com">Jack Mulrow</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 May 2018 16:45:17 +0000</created>
                <updated>Sun, 29 Oct 2023 22:32:12 +0000</updated>
                            <resolved>Fri, 14 Sep 2018 20:58:28 +0000</resolved>
                                                    <fixVersion>3.6.10</fixVersion>
                    <fixVersion>4.0.5</fixVersion>
                    <fixVersion>4.1.1</fixVersion>
                                    <component>Sharding</component>
                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2067990" author="xgen-internal-githook" created="Tue, 20 Nov 2018 16:58:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ben Caimano&apos;, &apos;email&apos;: &apos;ben.caimano@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34770&quot; title=&quot;Retry on JavaScript execution interruptions in stepdown suites&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34770&quot;&gt;&lt;del&gt;SERVER-34770&lt;/del&gt;&lt;/a&gt; Retry on JavaScript execution interruptions in stepdown suites&lt;/p&gt;

&lt;p&gt;(cherry picked from commit bb2de3700ee5b8eec9aa51cdbd2ecec937480c6c)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ae4011cf301665046c435c18fd6ef088f5881e04&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ae4011cf301665046c435c18fd6ef088f5881e04&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2059012" author="xgen-internal-githook" created="Mon, 12 Nov 2018 17:43:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ben Caimano&apos;, &apos;email&apos;: &apos;ben.caimano@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34770&quot; title=&quot;Retry on JavaScript execution interruptions in stepdown suites&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34770&quot;&gt;&lt;del&gt;SERVER-34770&lt;/del&gt;&lt;/a&gt; Retry on JavaScript execution interruptions in stepdown suites&lt;/p&gt;

&lt;p&gt;(cherry picked from commit bb2de3700ee5b8eec9aa51cdbd2ecec937480c6c)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4e50d2df115b46f9cba86104b2865a5827035769&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4e50d2df115b46f9cba86104b2865a5827035769&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2050294" author="jack.mulrow" created="Fri, 2 Nov 2018 15:26:20 +0000"  >&lt;p&gt;The BF this ticket fixed can occur on 3.6 and 4.0 as well, so requesting a backport to those branches.&lt;/p&gt;</comment>
                            <comment id="2003732" author="jack.mulrow" created="Fri, 14 Sep 2018 20:57:52 +0000"  >&lt;p&gt;Now that the JS scope returns the error code it was interrupted with, if a stepdown interrupts JS execution, the shell should choose to retry using the existing logic that retries on stepdown errors. So I think this ticket can be resolved.&lt;/p&gt;</comment>
                            <comment id="1979070" author="ben.caimano" created="Fri, 17 Aug 2018 17:51:22 +0000"  >&lt;p&gt;Handing over to sharding.&lt;/p&gt;</comment>
                            <comment id="1915867" author="xgen-internal-githook" created="Sat, 9 Jun 2018 00:23:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ben Caimano&apos;, &apos;email&apos;: &apos;ben.caimano@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34770&quot; title=&quot;Retry on JavaScript execution interruptions in stepdown suites&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34770&quot;&gt;&lt;del&gt;SERVER-34770&lt;/del&gt;&lt;/a&gt; Retry on JavaScript execution interruptions in stepdown suites&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bb2de3700ee5b8eec9aa51cdbd2ecec937480c6c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bb2de3700ee5b8eec9aa51cdbd2ecec937480c6c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1901233" author="ben.caimano" created="Thu, 24 May 2018 18:57:15 +0000"  >&lt;p&gt;On first glance, I believe that the repl coordinator actually does mark it as &lt;tt&gt;ErrorCodes::InterruptedDueToReplStateChange&lt;/tt&gt;. However, there is a (somewhat reasonable) short circuit in the MozJS scope that just returns interrupted instead of the true code for all manner of kills. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jack.mulrow&quot; class=&quot;user-hover&quot; rel=&quot;jack.mulrow&quot;&gt;jack.mulrow&lt;/a&gt;, did you have a favorite repro strategy for the BF?&lt;/p&gt;</comment>
                            <comment id="1889168" author="kaloian.manassiev" created="Fri, 11 May 2018 14:59:14 +0000"  >&lt;p&gt;We intentionally do not retry on &lt;tt&gt;ErrorCodes::Interrupted&lt;/tt&gt;, because it is supposed to mean that an user killed the task. It seems to me that on stepdown interruption, the MozJS scope should be marked as InterruptedDueToReplSetStepdown (which will be retried).&lt;/p&gt;

&lt;p&gt;Unless I am mistaken - we should pass this on to the Platforms team. Not sure whether they should do that or Repl.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="479368">SERVER-32565</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>8.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>Fri, 11 May 2018 14:59: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, 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>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, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20.0</customfieldvalue>

                        </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>ben.caimano@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jack.mulrow@mongodb.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htwxav:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htuyrr:</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="2538">Sharding 2018-10-08</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|htwjjr:</customfieldvalue>

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