<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:29 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-1929] handle replica set flapping</title>
                <link>https://jira.mongodb.org/browse/SERVER-1929</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If tcp connections quickly flap, we should not fail over to secondary.  We should make sure this doesn&apos;t happen at least in the trivial case where a single reconnect try works just fine after a socket exception.&lt;/p&gt;

&lt;p&gt;please research; maybe we can have a test for this too - we could add an option to replSetTest command to close all connections - something like &lt;/p&gt;

&lt;p&gt;                MessagingPort::closeAllSockets(0);&lt;/p&gt;

&lt;p&gt;might work for testing.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13328">SERVER-1929</key>
            <summary>handle replica set flapping</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="9">Done</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="dwight@mongodb.com">Dwight Merriman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Oct 2010 13:45:11 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:24 +0000</updated>
                            <resolved>Tue, 9 Oct 2012 14:16:14 +0000</resolved>
                                                    <fixVersion>2.3.0</fixVersion>
                                    <component>Replication</component>
                                        <votes>2</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="174336" author="auto" created="Fri, 12 Oct 2012 17:55:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-12T10:54:33-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt; Fix test race condition&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fd5cef9ff6475b67aadf95d25dec45875a670752&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fd5cef9ff6475b67aadf95d25dec45875a670752&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173865" author="auto" created="Thu, 11 Oct 2012 19:15:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-11T12:14:18-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt; Replace literal with a constant&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6453e95ec398eb40623c4a63c7f15b479822f153&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6453e95ec398eb40623c4a63c7f15b479822f153&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173864" author="auto" created="Thu, 11 Oct 2012 19:15:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-11T09:04:28-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt; Prevent outgoing heartbeat ports from closing on stepdown&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9a6aa4f7e181b18fc3ed5868773930904629a3b4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9a6aa4f7e181b18fc3ed5868773930904629a3b4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="171653" author="auto" created="Thu, 4 Oct 2012 22:57:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-04T15:56:46-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt; Fix test to handle a stepdown&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/efbca4cd123faaa1c9b12d82612a95e525c1bd98&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/efbca4cd123faaa1c9b12d82612a95e525c1bd98&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="171566" author="auto" created="Thu, 4 Oct 2012 20:25:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-04T12:18:29-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt; Remove unused heartbeat options from stepdown logic&lt;/p&gt;

&lt;p&gt;Fixed test because stepdown is so much faster that the connection is dead&lt;br/&gt;
by the time ismaster is called.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/07a6fd4726a8e876266319cd8d22d64111cf8688&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/07a6fd4726a8e876266319cd8d22d64111cf8688&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="171565" author="auto" created="Thu, 4 Oct 2012 20:25:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-04T08:59:31-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt; Set return value on heartbeat retry&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8ff934fbea3d470c5e499480abc6e962a1690a38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8ff934fbea3d470c5e499480abc6e962a1690a38&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="166770" author="auto" created="Fri, 21 Sep 2012 16:25:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-21T09:24:03-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Add heartbeat timeout setting &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ac1521cf43903313bd4d4d36c95b4e5c966ac32c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ac1521cf43903313bd4d4d36c95b4e5c966ac32c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="164584" author="auto" created="Fri, 14 Sep 2012 18:57:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-14T11:48:26-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Track heartbeats received for health &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b35e7705df9c090fa86db8a2c1ca52437b9aeaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b35e7705df9c090fa86db8a2c1ca52437b9aeaf1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="160845" author="auto" created="Wed, 5 Sep 2012 20:59:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-05T13:58:34-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Check pointer before dereferencing &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d0bffe83d5c9c4d15347e3ec2a61a83550e770cc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d0bffe83d5c9c4d15347e3ec2a61a83550e770cc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="160785" author="auto" created="Wed, 5 Sep 2012 19:39:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-05T12:18:18-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Allow socket timeout to be set after connecting &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1929&quot; title=&quot;handle replica set flapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1929&quot;&gt;&lt;del&gt;SERVER-1929&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1e7734b6adb86a0bcdde97208d102ed51cb08f7f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1e7734b6adb86a0bcdde97208d102ed51cb08f7f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="143229" author="richard@10gen.com" created="Mon, 16 Jul 2012 14:53:36 +0000"  >&lt;p&gt;Kristina tells me this is the issue she considers canonical for changing stuff about RS heartbeats and things.&lt;/p&gt;

&lt;p&gt;Making RS failovers not happen unless necessary ought to be a major issue.&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">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="40710">SERVER-6037</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>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 16 Jul 2012 14:51:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 18 weeks, 5 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>
                            11 years, 18 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10249"><![CDATA[Cannot]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>richard.kreuter</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpddz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11288</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="10154"><![CDATA[Complete]]></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|ht027z:</customfieldvalue>

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