<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:11 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-1835] problem with replication</title>
                <link>https://jira.mongodb.org/browse/SERVER-1835</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have a some problem when use MongoDB replication. As the  sample: we run master and slave and when turn off the net between &lt;br/&gt;
them, slave stop listening the master. When we restart slave server- then all OK. But it&apos;s not good decision.&lt;br/&gt;
Problem in more detail. &lt;br/&gt;
Slave usually starts replicating after a period of time.But after a &lt;br/&gt;
network outage between master and slave, the slave doesn&apos;t starts &lt;br/&gt;
replicating after a period of time. And when we turn on the network &lt;br/&gt;
between master and slave, the slave doesn&apos;t starts replication. We &lt;br/&gt;
look at the collection local-&amp;gt;host and find the ip of master there. &lt;br/&gt;
But replication doesn&apos;t start automatically.&lt;/p&gt;</description>
                <environment>Windows XP OS</environment>
        <key id="13157">SERVER-1835</key>
            <summary>problem with replication</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="boris">Boris Kashinski</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Sep 2010 07:18:11 +0000</created>
                <updated>Fri, 30 Mar 2012 14:37:03 +0000</updated>
                            <resolved>Wed, 5 Oct 2011 21:21:01 +0000</resolved>
                                    <version>1.6.2</version>
                    <version>1.7.0</version>
                                                    <component>Replication</component>
                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="51835" author="kristina" created="Wed, 31 Aug 2011 20:43:24 +0000"  >&lt;p&gt;Huh?&lt;/p&gt;</comment>
                            <comment id="51684" author="boris" created="Wed, 31 Aug 2011 08:19:23 +0000"  >&lt;p&gt;2011/8/30 Kristina Chodorow (JIRA) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;

&lt;p&gt;you!&lt;/p&gt;</comment>
                            <comment id="51489" author="kristina" created="Tue, 30 Aug 2011 15:45:20 +0000"  >&lt;p&gt;Not sure if you&apos;re still around.  If so, the first thing I&apos;d recommend is upgrading.  There was an issue with reconnection attempts getting into an infinite loop that was fixed in 1.8.  If that doesn&apos;t help, can you send the logs from A, B, and C during the experiment (while using 1.8)?&lt;/p&gt;</comment>
                            <comment id="18990" author="boris" created="Fri, 8 Oct 2010 11:03:17 +0000"  >&lt;p&gt;Can somebody say something about this situation?&lt;/p&gt;</comment>
                            <comment id="18837" author="boris" created="Mon, 4 Oct 2010 06:03:10 +0000"  >&lt;p&gt;ok. So,given servers:A,B,C.Where A,B-masters, C-slave. We pulling a physical wire from B. And C doesn&apos;t listen A and B computers. Only when we connect B  replication started.&lt;/p&gt;</comment>
                            <comment id="18753" author="eliot" created="Fri, 1 Oct 2010 14:28:37 +0000"  >&lt;p&gt;I didn&apos;t quite follow.&lt;/p&gt;

&lt;p&gt;So, given servers A B C&lt;/p&gt;

&lt;p&gt;A B to start&lt;br/&gt;
B slaves A&lt;/p&gt;

&lt;p&gt;then C??&lt;/p&gt;</comment>
                            <comment id="18732" author="boris" created="Fri, 1 Oct 2010 09:23:04 +0000"  >&lt;p&gt;Big thanks.We tested this situation on two computers with Linux. We set tcp_keepalive timeout. And replication started. But there are one problem:when we connect third computers and pulling a physical wire from second. Slave doesn&apos;t listen second ant third computers. Only when we connect second computer replication started.&lt;/p&gt;</comment>
                            <comment id="18707" author="eliot" created="Thu, 30 Sep 2010 13:28:48 +0000"  >&lt;p&gt;on unix you can set the tcp_keepalive timeout.&lt;br/&gt;
can you configure that on windows.&lt;br/&gt;
the default is usually 2 hours.&lt;br/&gt;
if you set that to 2 mintes it probably will fix it - but i don&apos;t know how on windows&lt;/p&gt;</comment>
                            <comment id="18704" author="boris" created="Thu, 30 Sep 2010 06:45:39 +0000"  >&lt;p&gt;We pulling a physical wire and get the same result &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="18683" author="eliot" created="Wed, 29 Sep 2010 21:47:44 +0000"  >&lt;p&gt;Right.&lt;/p&gt;

&lt;p&gt;What I think is happening is that there is a difference between software and hardware problems.&lt;br/&gt;
Can you try  pulling a physical wire?&lt;/p&gt;</comment>
                            <comment id="18661" author="boris" created="Wed, 29 Sep 2010 12:47:08 +0000"  >&lt;p&gt;drunken russian electrician cut cable by ax or tired cleaning woman hurt ethernet connector &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="18660" author="eliot" created="Wed, 29 Sep 2010 11:59:49 +0000"  >&lt;p&gt;What do you mean if the connection crashes?&lt;br/&gt;
If the master server crashed - you should very different behavior.&lt;/p&gt;</comment>
                            <comment id="18659" author="boris" created="Wed, 29 Sep 2010 11:53:25 +0000"  >&lt;p&gt;Sorry, but in practice this problem really exist. If connection is crashed- the replication on slave doesn&apos;t work.And really we will not know about this on slave. We will use the old data. As I think, in one of the block try/cache of MongoDB code must be restart of slave.&lt;/p&gt;</comment>
                            <comment id="18657" author="eliot" created="Wed, 29 Sep 2010 10:59:31 +0000"  >&lt;p&gt;In practice - this problem may not really exist.&lt;br/&gt;
If one of the remote servers crash, things will work as you expect.&lt;br/&gt;
Just the way you are testing this messes with tcp&lt;/p&gt;</comment>
                            <comment id="18654" author="boris" created="Wed, 29 Sep 2010 06:18:58 +0000"  >&lt;p&gt;If I understand correctly, you offer run many process of master/slave, but really,as for me, is not a good decision. We can do it with other db, but it&apos;s very not  practical, not nice. We see the scheme  &lt;a href=&quot;http://www.mongodb.org/display/DOCS/One+Slave+Two+Masters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/One+Slave+Two+Masters&lt;/a&gt; -and it&apos;s very good for us,because we need in save all changes on the many masters in one central db. Maybe, there is a reason to take a look at source code of mongodb? If we could find the place, where the slave interview the masters, we maybe could find the problem and resolve it.&lt;/p&gt;</comment>
                            <comment id="18641" author="eliot" created="Tue, 28 Sep 2010 20:32:50 +0000"  >&lt;p&gt;No - not in the same way you can with master/slave.&lt;br/&gt;
You could run 1 process per master on the slave machine though.&lt;br/&gt;
Is that an option?&lt;/p&gt;</comment>
                            <comment id="18624" author="boris" created="Tue, 28 Sep 2010 06:11:24 +0000"  >&lt;p&gt;Can we realize this scheme with replica sets? &lt;/p&gt;</comment>
                            <comment id="18623" author="boris" created="Tue, 28 Sep 2010 05:51:56 +0000"  >&lt;p&gt;scheme of replication what we need-see schema.gif. We use scheme one slave many masters like this &lt;a href=&quot;http://www.mongodb.org/display/DOCS/One+Slave+Two+Masters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/One+Slave+Two+Masters&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18602" author="eliot" created="Mon, 27 Sep 2010 21:21:32 +0000"  >&lt;p&gt;Is this master/slave or replica sets?&lt;br/&gt;
Replica sets might handle this a lot cleaner since they use a heartbeat &lt;/p&gt;</comment>
                            <comment id="18554" author="boris" created="Mon, 27 Sep 2010 06:50:41 +0000"  >&lt;p&gt;I stop the network connection by the click on network connections and select turn-off. (see file turn-off.gif)&lt;br/&gt;
No more than 1 minute&lt;/p&gt;</comment>
                            <comment id="18500" author="eliot" created="Fri, 24 Sep 2010 19:04:17 +0000"  >&lt;p&gt;How do you stop the network connection?&lt;br/&gt;
How long did you let it sit?&lt;/p&gt;</comment>
                            <comment id="18488" author="boris" created="Fri, 24 Sep 2010 06:43:30 +0000"  >&lt;p&gt;log of master and slave&lt;/p&gt;</comment>
                            <comment id="18458" author="eliot" created="Thu, 23 Sep 2010 14:30:20 +0000"  >&lt;p&gt;I&apos;m completely lost...  &lt;/p&gt;

&lt;p&gt;Can you send the slaves logs annotated at the correct times with what happened at the system level&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10468" name="log.txt" size="10887" author="boris" created="Fri, 24 Sep 2010 06:43:30 +0000"/>
                            <attachment id="10479" name="schema.gif" size="8746" author="boris" created="Tue, 28 Sep 2010 05:51:56 +0000"/>
                            <attachment id="10478" name="turn-off.gif" size="71250" author="boris" created="Mon, 27 Sep 2010 06:46:57 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 Sep 2010 14:30:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 25 weeks 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 25 weeks 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="10022"><![CDATA[Windows]]></customfieldvalue>

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

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

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

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