<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:27 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-7034] timeouts for all connections in migrate critical section</title>
                <link>https://jira.mongodb.org/browse/SERVER-7034</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Otherwise blackholed hosts can cause hangs.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="50453">SERVER-7034</key>
            <summary>timeouts for all connections in migrate critical section</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="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="greg_10gen">Greg Studer</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Sep 2012 19:02:19 +0000</created>
                <updated>Mon, 11 Jul 2016 17:59:02 +0000</updated>
                            <resolved>Thu, 3 Jan 2013 16:12:34 +0000</resolved>
                                                    <fixVersion>2.2.4</fixVersion>
                    <fixVersion>2.3.2</fixVersion>
                                    <component>Sharding</component>
                                        <votes>1</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="295199" author="auto" created="Thu, 21 Mar 2013 19:29:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-15T20:40:29Z&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt; add 10 second timeouts to three connections&lt;/p&gt;

&lt;p&gt;Change the timeout on three ScopedDbConnections (made while holding&lt;br/&gt;
a critical section) from default of zero (no timeout) to 10 seconds.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;/p&gt;

&lt;p&gt;	src/mongo/s/d_migrate.cpp&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/415ccd3c89eed61d8fa87efaa94045c4c8d5ad75&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/415ccd3c89eed61d8fa87efaa94045c4c8d5ad75&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="199915" author="kay.agahd@idealo.de" created="Tue, 27 Nov 2012 08:44:40 +0000"  >&lt;p&gt;Hello Eliot and Spencer, I added some new logs and MMS-screenshots to the related, private JIRA &lt;a href=&quot;https://jira.mongodb.org/browse/SUPPORT-366&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SUPPORT-366&lt;/a&gt; in order to destroy any doubts about the cause of this bug.&lt;br/&gt;
Could you please have a look there and tell us for sure if this bug has been fixed with version 2.2.2-rc1?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="196655" author="k.hodin@criteo.com" created="Thu, 22 Nov 2012 14:12:26 +0000"  >&lt;p&gt;Thanks for the details. We&apos;ll upgrade to 2.2.2.&lt;/p&gt;</comment>
                            <comment id="196618" author="eliot" created="Thu, 22 Nov 2012 13:19:52 +0000"  >&lt;p&gt;agahd and klebert - I think its highly unlikely this ticket is causing the issues as it only impacts if there are network outages or servers crashing as spencer said.&lt;br/&gt;
Its more likely &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7493&quot; title=&quot;Possible for read starvation to cause migration to get stuck in critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7493&quot;&gt;&lt;del&gt;SERVER-7493&lt;/del&gt;&lt;/a&gt; or &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7472&quot; title=&quot;Replication lag can cause cluster to hang in migration critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7472&quot;&gt;&lt;del&gt;SERVER-7472&lt;/del&gt;&lt;/a&gt; which are fixed for 2.2.2 (currently in 2.2.2-rc1).&lt;/p&gt;</comment>
                            <comment id="196170" author="kay.agahd@idealo.de" created="Wed, 21 Nov 2012 23:32:29 +0000"  >&lt;p&gt;Spencer, my company is in the same situation as Kl&#233;bert. We encountered at least 3 &quot;waiting of critical section&quot; outages only in the last week. Fortunately the mongo cluster was still accessible these times. Only the concerned mongod nodes were inaccessible. While waiting impatiently for a hotfix, we are analyzing in real time mongod&apos;s log in order to restart the node as soon as it&apos;s in a &quot;waiting of critical section&quot; in order to avoid or risk any downtime. That&apos;s just a quick &amp;amp; dirty hack which is a pity to have to use in production.&lt;/p&gt;

&lt;p&gt;I&apos;ve also already created a private jira where I&apos;ve uploaded all logs that 10gen asked for:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SUPPORT-366&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SUPPORT-366&lt;/a&gt;&lt;br/&gt;
If you still need more logs or more info to fix this bug asap, please just tell me.&lt;br/&gt;
Thanks!&lt;/p&gt;</comment>
                            <comment id="195982" author="spencer" created="Wed, 21 Nov 2012 18:56:33 +0000"  >&lt;p&gt;Kl&#233;bert, this will be fixed in the upcoming 2.3.1 development release which will roll over into the 2.4 production release.  This should only cause an issue if you have a node failure or network connectivity outage in the middle of the critical section of a migration, which should be pretty unlikely since the critical section generally does not last very long.  It&apos;s surprising to me that you would have hit it multiple times in the last 2 weeks.  Have you had multiple node crashes in the last 2 weeks?  Has there been a crash every time the cluster has gone unavailable?  Or are you having regular network problems?  It may be a good idea for you to open a new ticket in our &quot;Community Private&quot; jira project and upload your logs there so we can take a closer look at what went wrong.&lt;/p&gt;</comment>
                            <comment id="195625" author="k.hodin@criteo.com" created="Wed, 21 Nov 2012 12:24:54 +0000"  >&lt;p&gt;Any updates on this issue ? We experienced it several times in the last 2 weeks. &lt;br/&gt;
This bug always leads to a full cluster unavailability.&lt;/p&gt;</comment>
                            <comment id="183138" author="dan@10gen.com" created="Tue, 6 Nov 2012 18:18:35 +0000"  >&lt;p&gt;Need to re-evaluate timeout for recvChunkCommit.&lt;/p&gt;</comment>
                            <comment id="175454" author="auto" created="Tue, 16 Oct 2012 15:16:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-15T13:40:29-07:00&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt; add 10 second timeouts to three connections&lt;/p&gt;

&lt;p&gt;Change the timeout on three ScopedDbConnections (made while holding&lt;br/&gt;
a critical section) from default of zero (no timeout) to 10 seconds.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c35bd13c828582d8f79247a72b76b260f7b1f45b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c35bd13c828582d8f79247a72b76b260f7b1f45b&lt;/a&gt;&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>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="52647">SERVER-7298</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54331">SERVER-7472</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54661">SERVER-7500</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="59270">SERVER-7922</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>9.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>Mon, 15 Oct 2012 20:50:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 47 weeks, 6 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 47 weeks, 6 days ago
                        </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>auto</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
            <customfieldvalue>kay.agahd@idealo.de</customfieldvalue>
            <customfieldvalue>k.hodin@criteo.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnor3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhnen:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16603</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></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|hrt4bb:</customfieldvalue>

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