<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:06:12 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-44519] Label ExceededTimeLimit (262) errors with RetryableWriteError label</title>
                <link>https://jira.mongodb.org/browse/SERVER-44519</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The Drivers team has had the intention of adding ExceededTimeLimit as a retryable error code (see &lt;a href=&quot;https://jira.mongodb.org/browse/SPEC-1296&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SPEC-1296&lt;/a&gt;). Previously, this would have just required Drivers work, but now this also requires that we add the RetryableWriteError label to error to ExceededTimeLimit.&lt;/p&gt;</description>
                <environment></environment>
        <key id="994310">SERVER-44519</key>
            <summary>Label ExceededTimeLimit (262) errors with RetryableWriteError label</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="lingzhi.deng@mongodb.com">Lingzhi Deng</assignee>
                                    <reporter username="emily.giurleo@mongodb.com">Emily Giurleo</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Nov 2019 20:00:45 +0000</created>
                <updated>Sun, 29 Oct 2023 22:15:09 +0000</updated>
                            <resolved>Wed, 20 Nov 2019 21:12:41 +0000</resolved>
                                                    <fixVersion>4.3.2</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="2555276" author="xgen-internal-githook" created="Wed, 20 Nov 2019 21:05:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44519&quot; title=&quot;Label ExceededTimeLimit (262) errors with RetryableWriteError label&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44519&quot;&gt;&lt;del&gt;SERVER-44519&lt;/del&gt;&lt;/a&gt;: Label ExceededTimeLimit errors with RetryableWriteError label&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b077212a48653b1668cee67f6888cd65b5d123f6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b077212a48653b1668cee67f6888cd65b5d123f6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2536571" author="emily.giurleo" created="Tue, 12 Nov 2019 15:49:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jmikola&quot; class=&quot;user-hover&quot; rel=&quot;jmikola&quot;&gt;jmikola&lt;/a&gt; Done&lt;/p&gt;</comment>
                            <comment id="2536540" author="jmikola@gmail.com" created="Tue, 12 Nov 2019 15:44:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emily.giurleo&quot; class=&quot;user-hover&quot; rel=&quot;emily.giurleo&quot;&gt;emily.giurleo&lt;/a&gt;: Noting the comments above, can you revise this ticket title/description to remove mention of ClientDisconnect and just refer to ExceededTimeLimit?&lt;/p&gt;</comment>
                            <comment id="2536377" author="jason.carey" created="Tue, 12 Nov 2019 15:09:13 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I&apos;m happy to only add ExceededTimeLimit. It does seem like mongod would never return ClientDisconnect, and mongos would retry on ClientDisconnect itself and not want to add the error label and have drivers retry again (currently mongos is never returning RetryableWriteError error labels).&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I think that&apos;d be my preferred way forward&lt;/p&gt;</comment>
                            <comment id="2536234" author="judah.schvimer" created="Tue, 12 Nov 2019 14:23:19 +0000"  >&lt;p&gt;I&apos;m happy to only add &lt;tt&gt;ExceededTimeLimit&lt;/tt&gt;. It does seem like mongod would never return &lt;tt&gt;ClientDisconnect&lt;/tt&gt;, and mongos would retry on &lt;tt&gt;ClientDisconnect&lt;/tt&gt; itself and not want to add the error label and have drivers retry again (currently mongos is never returning RetryableWriteError error labels). &lt;/p&gt;</comment>
                            <comment id="2529527" author="jason.carey" created="Mon, 11 Nov 2019 20:27:04 +0000"  >&lt;blockquote&gt;
&lt;p&gt;In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40493&quot; title=&quot;Make Interrupted a retryable writes error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40493&quot;&gt;&lt;del&gt;SERVER-40493&lt;/del&gt;&lt;/a&gt;, for ClientDisconnect, Randolph Tan said:&lt;/p&gt;

&lt;p&gt;It means that the remote connection was severed. This makes more sense when there are multiple network hops, for example, driver sends write to mongos, then mongos sending write commands to shards. So, it is possible to get this error during retryable write.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;that&apos;s interesting, I wouldn&apos;t have expected that that&apos;s possible.  From my memory and inspection I only see this getting manufactured after your ingress socket disconnected.  So I think the only way I can see this showing up to an end user is if we persisted errors somewhere and handed them back later to a different client than the one that disconnected from us.  I definitely didn&apos;t intend this to be an error you&apos;d see outside a single mongod when I did that project&lt;/p&gt;</comment>
                            <comment id="2529482" author="judah.schvimer" created="Mon, 11 Nov 2019 20:15:26 +0000"  >&lt;p&gt;In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40493&quot; title=&quot;Make Interrupted a retryable writes error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40493&quot;&gt;&lt;del&gt;SERVER-40493&lt;/del&gt;&lt;/a&gt;, for &lt;tt&gt;ClientDisconnect&lt;/tt&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=renctan&quot; class=&quot;user-hover&quot; rel=&quot;renctan&quot;&gt;renctan&lt;/a&gt; said:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It means that the remote connection was severed. This makes more sense when there are multiple network hops, for example, driver sends write to mongos, then mongos sending write commands to shards. So, it is possible to get this error during retryable write.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="2528955" author="jason.carey" created="Mon, 11 Nov 2019 18:17:01 +0000"  >&lt;p&gt;Just to drop a little more info in, I&apos;m not actually sure how you&apos;d ever get a ClientDisconnect error.&lt;/p&gt;

&lt;p&gt;That error is sent (via markKilled), if your opctx is marked as killOnClientDisconnect and your client socket is disconnected.  that bubbles up to the top and get&apos;s logged, but unless something very weird has happened, there shouldn&apos;t be an channel to propagate that error.  Can&apos;t send an error response on a closed socket, and all that&lt;/p&gt;
</comment>
                            <comment id="2526456" author="rathi.gnanasekaran" created="Sat, 9 Nov 2019 01:56:03 +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; your right, according to the last comment in the spec ticket only two of those are retryable. I have updated the spec ticket to reflect the discussion. &lt;/p&gt;</comment>
                            <comment id="2525964" author="emily.giurleo" created="Fri, 8 Nov 2019 20:17:35 +0000"  >&lt;p&gt;Thanks for pointing that out! I&apos;ll follow up with Rathi about it.&lt;/p&gt;</comment>
                            <comment id="2525960" author="judah.schvimer" created="Fri, 8 Nov 2019 20:13:50 +0000"  >&lt;p&gt;I think we decided in SPEC-1296 that LockTimeout would not be a retryable error.&lt;/p&gt;</comment>
                            <comment id="2525927" author="emily.giurleo" created="Fri, 8 Nov 2019 20:04:22 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rathi.gnanasekaran&quot; class=&quot;user-hover&quot; rel=&quot;rathi.gnanasekaran&quot;&gt;rathi.gnanasekaran&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jmikola&quot; class=&quot;user-hover&quot; rel=&quot;jmikola&quot;&gt;jmikola&lt;/a&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; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ldeng&quot; class=&quot;user-hover&quot; rel=&quot;ldeng&quot;&gt;ldeng&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1016360">DRIVERS-772</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="1016359">DOCS-13237</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="731151">SERVER-40493</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="759096">DRIVERS-651</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>12.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_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, 8 Nov 2019 20:13:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 12 weeks 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ExceededTimeLimit is now labeled as RetryableWriteError. Also see SPEC-1296</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></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>
                            4 years, 12 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>emily.giurleo@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jmikola@mongodb.com</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>lingzhi.deng@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
            <customfieldvalue>rathi.gnanasekaran</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw1byn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvpmlb:</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="3436">Repl 2019-12-02</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="16945"><![CDATA[Drivers]]></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|hw0y7z:</customfieldvalue>

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