<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:10:35 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-6037] RS members should report on heartbeat if they cannot reach the node hb-ing them</title>
                <link>https://jira.mongodb.org/browse/SERVER-6037</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have been testing replica set reliability under a few different failure scenarios. One scenario that failed is when we misconfigured network routing to a mongod primary. We blocked all inbound traffic to port 27017, but allowed it to continue making outbound connections. The replica set was a 3-node set where the primary (node A) had a higher priority than the other two (node B and node C).&lt;/p&gt;

&lt;p&gt;What happened when we blocked port 27017 to node A is that node B assumed the primary role, as expected. However, node A then made an outbound connection to node B, and since it had a higher priority A told B to step down as primary, which it did. However, since neither B nor C could make a connection to node A, they both eventually voted that node B should become master again. A again connects to B and the whole process repeats indefinitely.&lt;/p&gt;

&lt;p&gt;Not that this is at all a typical failure scenario, but I&apos;m thinking that node A should not have been able to tell B to step down as primary in this situation.&lt;/p&gt;

&lt;p&gt;Here are the relevant log entries from node A:&lt;br/&gt;
  Mon Jun  4 15:23:29 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; trying reconnect to graphdb-4-2.strcst.net:27017&lt;br/&gt;
  Mon Jun  4 15:23:29 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; reconnect graphdb-4-2.strcst.net:27017 ok&lt;br/&gt;
  Mon Jun  4 15:23:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet member graphdb-4-2.strcst.net:27017 is now in state PRIMARY&lt;br/&gt;
  Mon Jun  4 15:23:32 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet syncing to: graphdb-4-2.strcst.net:27017&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; stepping down graphdb-4-2.strcst.net:27017&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet syncThread: 10278 dbclient error communicating with server: graphdb-4-2.strcst.net:27017&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet member graphdb-4-2.strcst.net:27017 is now in state SECONDARY&lt;/p&gt;

&lt;p&gt;And here are the corresponding log entries from node B:&lt;br/&gt;
  Mon Jun  4 15:23:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.209.29.204:56081 #419426&lt;br/&gt;
  Mon Jun  4 15:23:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet info electSelf 1&lt;br/&gt;
  Mon Jun  4 15:23:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet PRIMARY&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn419426&amp;#93;&lt;/span&gt; replSet info stepping down as primary secs=1&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn419426&amp;#93;&lt;/span&gt; replSet relinquishing primary state&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn419426&amp;#93;&lt;/span&gt; replSet SECONDARY&lt;br/&gt;
  Mon Jun  4 15:23:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn419426&amp;#93;&lt;/span&gt; replSet closing client sockets after reqlinquishing primary&lt;/p&gt;</description>
                <environment>Ubuntu 10.04 in Amazon EC2</environment>
        <key id="40710">SERVER-6037</key>
            <summary>RS members should report on heartbeat if they cannot reach the node hb-ing them</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="mhobbs">Mike Hobbs</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Jun 2012 19:17:24 +0000</created>
                <updated>Mon, 11 Jul 2016 18:33:23 +0000</updated>
                            <resolved>Mon, 17 Dec 2012 15:48:03 +0000</resolved>
                                    <version>2.0.4</version>
                                    <fixVersion>2.3.2</fixVersion>
                                    <component>Replication</component>
                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="209840" author="auto" created="Sat, 8 Dec 2012 17:13:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-12-07T20:06:10Z&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6037&quot; title=&quot;RS members should report on heartbeat if they cannot reach the node hb-ing them&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6037&quot;&gt;&lt;del&gt;SERVER-6037&lt;/del&gt;&lt;/a&gt; always log missed heartbeats&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/16bec3dd4cffa6d9c30af70472bd058e3c9e2916&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/16bec3dd4cffa6d9c30af70472bd058e3c9e2916&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="195934" author="dan@10gen.com" created="Wed, 21 Nov 2012 17:53:48 +0000"  >&lt;p&gt;This was actually fixed as part of &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;, but the message is logged at level 1.  We should fix this to log this condition always.&lt;/p&gt;

&lt;p&gt;Commit: &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="160585" author="kristina" created="Wed, 5 Sep 2012 14:03:04 +0000"  >&lt;p&gt;This can be fixed as part of the flapping fix.&lt;/p&gt;</comment>
                            <comment id="128866" author="kristina" created="Fri, 8 Jun 2012 18:41:45 +0000"  >&lt;p&gt;I think the problem is with how B &amp;amp; C are handling this (there is no mechanism for them to tell A that A is unreachable).  When A connects to B (say) and asks it for status, B should report that it thinks A is down.  Shouldn&apos;t be too hard to fix, but it&apos;s too late in 2.2 dev cycle to make it in.  Congratulations on finding a new edge case!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="13328">SERVER-1929</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 8 Jun 2012 18:41:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 10 weeks, 4 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, 10 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></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>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>mhobbs</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro0nz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10319</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_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|ht04af:</customfieldvalue>

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