<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:00:21 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-2544] Two primaries with network partitioned replica set (non-transient)</title>
                <link>https://jira.mongodb.org/browse/SERVER-2544</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Take three hosts in a replica set:&lt;/p&gt;

&lt;p&gt;config = {_id: &apos;test1&apos;, members: [&lt;br/&gt;
                          {_id: 0, host: &apos;sf1&apos;},&lt;br/&gt;
                          {_id: 1, host: &apos;ny1&apos;},&lt;br/&gt;
                          {_id: 2, host: &apos;uk1&apos;}]&lt;br/&gt;
           }&lt;/p&gt;

&lt;p&gt;sf1 is master.&lt;/p&gt;

&lt;p&gt;A &apos;routing issue&apos; occurs ( root@uk1:~# route add -host sf1 reject ), such that:&lt;/p&gt;

&lt;p&gt;sf1 can talk to ny1.&lt;br/&gt;
ny1 can talk to uk1.&lt;br/&gt;
sf1 cannot talk to uk1.&lt;/p&gt;

&lt;p&gt;sf1 notices uk1 has gone quiet, and remains a master.  (it&apos;s a master, it can see a majority, so that&apos;s reasonable)&lt;br/&gt;
uk1 votes for itself.  (it can see a majority, but no master, so that&apos;s also reasonable)&lt;br/&gt;
ny1 votes for uk1.  (that&apos;s probably less sensible, given that it can already see a master)&lt;br/&gt;
ny1 then bemoans that fact that there are two primaries.&lt;/p&gt;

&lt;p&gt;Log entries:&lt;/p&gt;

&lt;p&gt;sf1:&lt;br/&gt;
Thu Feb 10 17:29:39 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; end connection uk1:35740&lt;br/&gt;
Thu Feb 10 17:29:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplSetHealthPollTask&amp;#93;&lt;/span&gt; replSet info uk1 is now down (or slow to respond)&lt;/p&gt;

&lt;p&gt;ny1:&lt;br/&gt;
Thu Feb 10 17:29:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn4&amp;#93;&lt;/span&gt; replSet info voting yea for 2&lt;br/&gt;
Thu Feb 10 17:29:39 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplSetHealthPollTask&amp;#93;&lt;/span&gt; replSet uk1 PRIMARY&lt;br/&gt;
Thu Feb 10 17:29:39 &lt;span class=&quot;error&quot;&gt;&amp;#91;rs Manager&amp;#93;&lt;/span&gt; replSet warning DIAG two primaries (transiently)&lt;br/&gt;
Thu Feb 10 17:29:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;rs Manager&amp;#93;&lt;/span&gt; replSet warning DIAG two primaries (transiently)&lt;br/&gt;
Thu Feb 10 17:29:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;rs Manager&amp;#93;&lt;/span&gt; replSet warning DIAG two primaries (transiently)&lt;br/&gt;
(previous message continues to repeat - the situation doesn&apos;t resolve until uk1 is un-partitioned again)&lt;/p&gt;

&lt;p&gt;uk1:&lt;br/&gt;
Thu Feb 10 17:29:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplSetHealthPollTask&amp;#93;&lt;/span&gt; replSet info sf1 is now down (or slow to respond)&lt;br/&gt;
Thu Feb 10 17:29:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;rs Manager&amp;#93;&lt;/span&gt; replSet info electSelf 2&lt;br/&gt;
Thu Feb 10 17:29:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;rs Manager&amp;#93;&lt;/span&gt; replSet PRIMARY&lt;/p&gt;

&lt;p&gt;The impact of this is probably rather mitigated in the real world, as if I repeat this scenario with frequent writes onto sf1, uk1 when partitioned in this way will correctly detect that it&apos;s not current (&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;rs Manager&amp;#93;&lt;/span&gt; replSet info not electing self, we are not freshest&quot;).&lt;/p&gt;

&lt;p&gt;Relates to forum discussion: &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/b2f01c106f7b6841&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/b2f01c106f7b6841&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Ubuntu 9.04 (32bit), Ubuntu 10.04.1 (32bit)</environment>
        <key id="14718">SERVER-2544</key>
            <summary>Two primaries with network partitioned replica set (non-transient)</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="tabascoterrier">Sam Bryan</reporter>
                        <labels>
                    </labels>
                <created>Sun, 13 Feb 2011 11:30:21 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:04 +0000</updated>
                            <resolved>Mon, 14 Feb 2011 16:12:10 +0000</resolved>
                                    <version>1.6.5</version>
                    <version>1.7.5</version>
                                    <fixVersion>1.7.6</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="23822" author="auto" created="Sun, 13 Feb 2011 23:08:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: eliminate two-primary edge case &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2544&quot; title=&quot;Two primaries with network partitioned replica set (non-transient)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2544&quot;&gt;&lt;del&gt;SERVER-2544&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ed360a84f92d3c234ca9a4c2256de95be5562abe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ed360a84f92d3c234ca9a4c2256de95be5562abe&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 13 Feb 2011 23:08:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 1 week, 3 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>
                            13 years, 1 week, 3 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

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

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

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

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