<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:12:11 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>[DOCS-15168] [SERVER] set TemporarilyUnavailableException  RetryBackoff higher</title>
                <link>https://jira.mongodb.org/browse/DOCS-15168</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64050&quot; title=&quot;set TemporarilyUnavailableException::kRetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64050&quot;&gt;&lt;del&gt;SERVER-64050&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

  &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    MongoDB may, in rare circumstances, return a new TemporarilyUnvailable error when a write operation is excessively rolled-back in the storage engine due to cache pressure. The operation may be at fault for writing too much data, or it may be a victim. That information is not exposed. However, if this error is returned, it is very likely that the operation was the cause of the problem, rather than a victim.&lt;/p&gt;

&lt;p&gt;Previously, this type of error was retried indefinitely inside MongoDB. Now, MongoDB will retry an operation internally at most 10 times, backing off for &lt;br/&gt;
1 second, with a linearly-increasing backoff, in total up to 55 seconds. After this point, the error will be returned to the user. This can be tuned with the setParameters &quot;temporarilyUnavailableMaxRetries&quot; and &quot;temporarilyUnavailableBackoffBaseMs&quot;.&lt;/p&gt;

&lt;p&gt;If an operation receives a TemporarilyUnavailable error internally, a &quot;temporarilyUnavailableErrors&quot; counter will be displayed in the slow query logs and in FTDC.&lt;/p&gt;

&lt;p&gt;This does not apply to multi-document transactions, which will continue to return a WriteConflict in this scenario without retrying internally.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Currently, TemporarilyUnavailableException::kRetryBackoff is set to 100 milliseconds, which doesn&apos;t seem like enough delay to give the retry of the operation a good chance to succeed.  I recommend we change this value to at least 2 seconds, and keep the number of retries hardcoded at &quot;3&quot;.  Thus, with linear increasing of the delay for each retry, prior to the last retry the delay will be 6 seconds, which doesn&apos;t seem unreasonable for an overloaded system.  Control of this delay server-side is important since returning a retriable error immediately with no retrying will typically result in immediate retry by the drivers with no delay.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="1999332">DOCS-15168</key>
            <summary>[SERVER] set TemporarilyUnavailableException  RetryBackoff higher</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="dave.cuthbert@mongodb.com">Dave Cuthbert</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Mar 2022 10:58:48 +0000</created>
                <updated>Sun, 29 Oct 2023 13:53:08 +0000</updated>
                            <resolved>Tue, 23 Aug 2022 19:35:48 +0000</resolved>
                                                    <fixVersion>6.0.0-rc0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4808092" author="xgen-internal-githook" created="Wed, 7 Sep 2022 14:20:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dave Cuthbert&apos;, &apos;email&apos;: &apos;69165704+davemungo@users.noreply.github.com&apos;, &apos;username&apos;: &apos;davemungo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15168&quot; title=&quot;[SERVER] set TemporarilyUnavailableException  RetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15168&quot;&gt;&lt;del&gt;DOCS-15168&lt;/del&gt;&lt;/a&gt;-set-retry-parameters-v6.1 (#1681)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Review feedback&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15168&quot; title=&quot;[SERVER] set TemporarilyUnavailableException  RetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15168&quot;&gt;&lt;del&gt;DOCS-15168&lt;/del&gt;&lt;/a&gt; set retry parameters&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Sync update from another PR&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/9b14ae52b9efee33c02793dbf0b36d3aed83b735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/9b14ae52b9efee33c02793dbf0b36d3aed83b735&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4771392" author="xgen-internal-githook" created="Tue, 23 Aug 2022 19:07:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dave Cuthbert&apos;, &apos;email&apos;: &apos;69165704+davemungo@users.noreply.github.com&apos;, &apos;username&apos;: &apos;davemungo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15168&quot; title=&quot;[SERVER] set TemporarilyUnavailableException  RetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15168&quot;&gt;&lt;del&gt;DOCS-15168&lt;/del&gt;&lt;/a&gt;-set-retry-parameters-v6.1 (#1681)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Review feedback&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15168&quot; title=&quot;[SERVER] set TemporarilyUnavailableException  RetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15168&quot;&gt;&lt;del&gt;DOCS-15168&lt;/del&gt;&lt;/a&gt; set retry parameters&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Sync update from another PR&lt;br/&gt;
Branch: v6.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/9b14ae52b9efee33c02793dbf0b36d3aed83b735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/9b14ae52b9efee33c02793dbf0b36d3aed83b735&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4439494" author="JIRAUSER1257477" created="Mon, 28 Mar 2022 18:32:15 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64050&quot; title=&quot;set TemporarilyUnavailableException::kRetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64050&quot;&gt;&lt;del&gt;SERVER-64050&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0-rc0&lt;/p&gt;</comment>
                            <comment id="4439461" author="JIRAUSER1257477" created="Mon, 28 Mar 2022 18:19:41 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64050&quot; title=&quot;set TemporarilyUnavailableException::kRetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64050&quot;&gt;&lt;del&gt;SERVER-64050&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0, 6.0.0-rc0&lt;/p&gt;</comment>
                            <comment id="4406080" author="JIRAUSER1257477" created="Fri, 11 Mar 2022 10:58:55 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64050&quot; title=&quot;set TemporarilyUnavailableException::kRetryBackoff higher&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64050&quot;&gt;&lt;del&gt;SERVER-64050&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="1991530">SERVER-64050</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Mar 2022 10:58:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 22 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>MongoDB may, in rare circumstances, return a new TemporarilyUnvailable error when a write operation is excessively rolled-back in the storage engine due to cache pressure. The operation may be at fault for writing too much data, or it may be a victim. That information is not exposed. However, if this error is returned, it is very likely that the operation was the cause of the problem, rather than a victim.&lt;br/&gt;
&lt;br/&gt;
Previously, this type of error was retried indefinitely inside MongoDB. Now, MongoDB will retry an operation internally at most 10 times, backing off for &lt;br/&gt;
1 second, with a linearly-increasing backoff, in total up to 55 seconds. After this point, the error will be returned to the user. This can be tuned with the setParameters &amp;quot;temporarilyUnavailableMaxRetries&amp;quot; and &amp;quot;temporarilyUnavailableBackoffBaseMs&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
If an operation receives a TemporarilyUnavailable error internally, a &amp;quot;temporarilyUnavailableErrors&amp;quot; counter will be displayed in the slow query logs and in FTDC.&lt;br/&gt;
&lt;br/&gt;
This does not apply to multi-document transactions, which will continue to return a WriteConflict in this scenario without retrying internally.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-22649</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>
                            1 year, 22 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>dave.cuthbert@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0mvb3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i05wlw:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0mhgf:</customfieldvalue>

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