<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:44:19 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-36868] Update error code in the stepdown hook.</title>
                <link>https://jira.mongodb.org/browse/SERVER-36868</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The error code for exceeding timeouts was determined to be ambiguous and was changed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35031&quot; title=&quot;ExceededTimeLimit (50) is reported in situations unrelated to maxTimeMS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35031&quot;&gt;&lt;del&gt;SERVER-35031&lt;/del&gt;&lt;/a&gt;. We should update places that expect these errors in resmoke to handle the new error code. Right now the only place is in the stepdown hook.&lt;/p&gt;

&lt;p&gt;Note that there has been no change in pymongo throughout this process; &lt;a href=&quot;https://github.com/mongodb/mongo-python-driver/blob/3.5.1/pymongo/helpers.py#L204&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;it doesn&apos;t know about the new error code for &lt;tt&gt;ExceededTimeLimit&lt;/tt&gt;&lt;/a&gt; and treats it as a generic &lt;tt&gt;OperationFailure&lt;/tt&gt;. So the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/b29f95c9b5cefb2c4ee4beaf5b1eb5758bfb910b/buildscripts/resmokelib/testing/hooks/stepdown.py#L302&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;error handling code in stepdown.py&lt;/a&gt; should be changed to handle &lt;tt&gt;OperationFailure&lt;/tt&gt; as well.&lt;/p&gt;

&lt;p&gt;We should also check that the code for the OperationFailure is indeed for &lt;tt&gt;ExceededTimeLimit&lt;/tt&gt;(262) and still bubble up other errors.&lt;/p&gt;

&lt;p&gt;Affects master and 4.0 branches for now, but based on comments in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35031&quot; title=&quot;ExceededTimeLimit (50) is reported in situations unrelated to maxTimeMS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35031&quot;&gt;&lt;del&gt;SERVER-35031&lt;/del&gt;&lt;/a&gt;, it will be backported to earlier branches later.&lt;/p&gt;</description>
                <environment></environment>
        <key id="594217">SERVER-36868</key>
            <summary>Update error code in the stepdown hook.</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="13203">Gone away</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="robert.guo@mongodb.com">Robert Guo</reporter>
                        <labels>
                            <label>stm</label>
                    </labels>
                <created>Fri, 24 Aug 2018 21:04:30 +0000</created>
                <updated>Fri, 27 Oct 2023 20:43:17 +0000</updated>
                            <resolved>Sat, 22 Dec 2018 02:47:43 +0000</resolved>
                                    <version>4.0.1</version>
                                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1987460" author="jonathan.abrahams" created="Tue, 28 Aug 2018 13:12:15 +0000"  >&lt;p&gt;This is no longer required, based on the work done in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36817&quot; title=&quot;replSetFreeze command run by stepdown thread may fail when server is already primary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36817&quot;&gt;&lt;del&gt;SERVER-36817&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1985672" author="robert.guo" created="Sat, 25 Aug 2018 00:42:56 +0000"  >&lt;p&gt;&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; Definitely not. The reason the code for &lt;tt&gt;ExceededTimeLimit&lt;/tt&gt; was changed in the first place was to avoid confusion with &lt;tt&gt;maxTimeMS&lt;/tt&gt; errors. Exceeding &lt;tt&gt;maxTimeMS&lt;/tt&gt; is the only legitimate reason for &lt;tt&gt;ExecutionTimeout&lt;/tt&gt; errors; &lt;tt&gt;ExceededTimeLimit&lt;/tt&gt;/262 errors on the other hand should &lt;em&gt;not&lt;/em&gt; map to &lt;tt&gt;ExecutionTimeout&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="1985614" author="max.hirschhorn@10gen.com" created="Fri, 24 Aug 2018 21:59:19 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Max Hirschhorn We shouldn&apos;t need to. There has been no change to PyMongo in this process, The error code change is only on the server side&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Right, but couldn&apos;t there be a future version of PyMongo that maps error code 262 to the &lt;tt&gt;ExecutionTimeout&lt;/tt&gt; exception?&lt;/p&gt;</comment>
                            <comment id="1985567" author="robert.guo" created="Fri, 24 Aug 2018 21:32:47 +0000"  >&lt;p&gt;&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; We shouldn&apos;t need to. There has been no change to PyMongo in this process, The error code change is only on the server side. The server used to return error code 50, but now returns error code 262 after &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35031&quot; title=&quot;ExceededTimeLimit (50) is reported in situations unrelated to maxTimeMS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35031&quot;&gt;&lt;del&gt;SERVER-35031&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;So as long as the engineer is running a recent version of the server, we will only see 262, regardless of the version of pymongo.&lt;/p&gt;</comment>
                            <comment id="1985556" author="max.hirschhorn@10gen.com" created="Fri, 24 Aug 2018 21:24:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert.guo&quot; class=&quot;user-hover&quot; rel=&quot;robert.guo&quot;&gt;robert.guo&lt;/a&gt;, should we still handle the &lt;tt&gt;ExecutionTimeout&lt;/tt&gt; exception in the stepdown thread? I wasn&apos;t sure what approach would support the possible versions of PyMongo that Server engineers might be running locally.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <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="593207">SERVER-36817</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="545108">SERVER-35031</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>5.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>Fri, 24 Aug 2018 21:24:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 24 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, 24 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>22.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>backlog-server-stm</customfieldvalue>
            <customfieldvalue>jonathan.abrahams</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>robert.guo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu6cif:</customfieldvalue>

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

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