<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:41:51 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-79771] Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit</title>
                <link>https://jira.mongodb.org/browse/SERVER-79771</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Pasting Max&apos;s findings:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The problematic area is in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r5.0.19/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp#L202-L203&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/r5.0.19/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp#L202-L203&lt;/a&gt; where likely at the time of writing the code it was assumed because the function returns a StatusWith&amp;lt;&amp;gt; result it wouldn&apos;t be throwing an exception yet it seems like the function can also throw an exception. And so the exception causes the function to propagate an error rather than swallowing the error and retrying by doing the return true.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The ReshardingRecipientService should &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/resharding/resharding_future_util.h#L136&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;retry&lt;/a&gt; on transient &lt;tt&gt;NetworkTimeoutError&lt;/tt&gt; category errors too in any retry loop. Since the change will be done in resharding_future_util.h, this improvement should affect all code using &lt;a href=&quot;https://github.com/10gen/mongo/blob/698ac509069bf246f497e07e1e6aa0ad8a949ac3/src/mongo/db/s/resharding/resharding_future_util.h#L101&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;resharding::withAutomaticRetry&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2409903">SERVER-79771</key>
            <summary>Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="abdul.qadeer@mongodb.com">Abdul Qadeer</assignee>
                                    <reporter username="abdul.qadeer@mongodb.com">Abdul Qadeer</reporter>
                        <labels>
                            <label>sharding-nyc-subteam1</label>
                    </labels>
                <created>Sat, 5 Aug 2023 04:15:51 +0000</created>
                <updated>Sun, 29 Oct 2023 21:17:54 +0000</updated>
                            <resolved>Mon, 28 Aug 2023 17:58:48 +0000</resolved>
                                    <version>5.0.0</version>
                    <version>6.0.0</version>
                    <version>7.0.0</version>
                    <version>7.1.0-rc0</version>
                                    <fixVersion>7.1.0-rc0</fixVersion>
                    <fixVersion>6.0.10</fixVersion>
                    <fixVersion>5.0.21</fixVersion>
                    <fixVersion>7.0.2</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5663994" author="xgen-internal-githook" created="Mon, 28 Aug 2023 17:51:49 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Abdul Qadeer&apos;, &apos;email&apos;: &apos;abdul.qadeer@mongodb.com&apos;, &apos;username&apos;: &apos;zorro786&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79771&quot; title=&quot;Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79771&quot;&gt;&lt;del&gt;SERVER-79771&lt;/del&gt;&lt;/a&gt; Add retry on NetworkTimeout category errors&lt;/p&gt;

&lt;p&gt;(cherry picked with edits from commit 3d7379f3f6f86e504d89d5cb0825fd20842ce27f)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5ae3be172db8654aa54abbfdf2dbf9fee25c4c2a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5ae3be172db8654aa54abbfdf2dbf9fee25c4c2a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5663725" author="xgen-internal-githook" created="Mon, 28 Aug 2023 16:26:38 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Abdul Qadeer&apos;, &apos;email&apos;: &apos;abdul.qadeer@mongodb.com&apos;, &apos;username&apos;: &apos;zorro786&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79771&quot; title=&quot;Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79771&quot;&gt;&lt;del&gt;SERVER-79771&lt;/del&gt;&lt;/a&gt; Add retry on NetworkTimeout category errors&lt;/p&gt;

&lt;p&gt;(cherry picked with edits from commit 3d7379f3f6f86e504d89d5cb0825fd20842ce27f)&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/35cd65218dcfcbfa2536770b9b07053beb0c2de1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/35cd65218dcfcbfa2536770b9b07053beb0c2de1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5660623" author="xgen-internal-githook" created="Fri, 25 Aug 2023 21:19:27 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Abdul Qadeer&apos;, &apos;email&apos;: &apos;abdul.qadeer@mongodb.com&apos;, &apos;username&apos;: &apos;zorro786&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79771&quot; title=&quot;Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79771&quot;&gt;&lt;del&gt;SERVER-79771&lt;/del&gt;&lt;/a&gt; Add retry on NetworkTimeout category errors&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 3d7379f3f6f86e504d89d5cb0825fd20842ce27f)&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/52af74de1c41ccd47d7f41c7478ef14ecbe07cee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/52af74de1c41ccd47d7f41c7478ef14ecbe07cee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5660201" author="xgen-internal-githook" created="Fri, 25 Aug 2023 18:32:07 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Abdul Qadeer&apos;, &apos;email&apos;: &apos;abdul.qadeer@mongodb.com&apos;, &apos;username&apos;: &apos;zorro786&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79771&quot; title=&quot;Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79771&quot;&gt;&lt;del&gt;SERVER-79771&lt;/del&gt;&lt;/a&gt; Add retry on NetworkTimeout category errors&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3d7379f3f6f86e504d89d5cb0825fd20842ce27f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3d7379f3f6f86e504d89d5cb0825fd20842ce27f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5628465" author="max.hirschhorn@10gen.com" created="Fri, 11 Aug 2023 12:55:40 +0000"  >&lt;p&gt;Based on an experiment Garaudy performed in Atlas (changing the instance size while running resharding), it is confirmed to also be possible for the ReshardingCollectionCloner to receive a NetworkInterfaceExceededTimeLimit error while the recipient shard is waiting for a network connection to one of the donor shards. Therefore, in addition to retrying in the presence of this error directly in the ReshardingOplogFetcher (which has its own retry loop), &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r5.0.19/src/mongo/db/s/resharding/resharding_future_util.h#L129-L134&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the resharding::WithAutomaticRetry logic&lt;/a&gt; should also retry on the the NetworkInterfaceExceededTimeLimit error. See also &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72055&quot; title=&quot;NetworkInterfaceTL should always return a retryable error when it times out waiting to acquire a connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72055&quot;&gt;SERVER-72055&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2417968">SERVER-80020</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2208795">SERVER-72055</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1813099">SERVER-58389</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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25134"><![CDATA[Sharding NYC]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25578"><![CDATA[v7.0]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001ueu0WQAQ]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Aug 2023 12:55:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        23 weeks, 2 days 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not 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>
                            23 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>abdul.qadeer@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</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|i2l0ef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hraf5z:u</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7544">Sharding NYC 2023-09-04</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|i2kmjr:</customfieldvalue>

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