<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04: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-3928] replSet initial sync pending for quite a long time</title>
                <link>https://jira.mongodb.org/browse/SERVER-3928</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A customer, Techlightenment, sent me attached log. He was bringing up a new replica set. He said he had all replicas running but there was a period of about 1 hour where the log just showed:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thu Sep 22 00:20:38 [rsSync] replSet initial sync pending&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thu Sep 22 00:20:38 [rsSync] replSet initial sync need a member to be primary or secondary to do our initial sync&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thu Sep 22 01:17:58 [rsSync] replSet initial sync pending&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thu Sep 22 01:17:58 [rsSync] replSet initial sync need a member to be primary or secondary to do our initial sync&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;See attached log.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22702">SERVER-3928</key>
            <summary>replSet initial sync pending for quite a long time</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="tonyh">Tony Hannan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Sep 2011 20:06:31 +0000</created>
                <updated>Mon, 11 Jul 2016 18:32:23 +0000</updated>
                            <resolved>Tue, 27 Sep 2011 14:36:47 +0000</resolved>
                                    <version>2.0.0</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="56957" author="kristina" created="Tue, 27 Sep 2011 15:36:30 +0000"  >&lt;p&gt;No problem &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="56944" author="ksandom" created="Tue, 27 Sep 2011 15:10:34 +0000"  >&lt;p&gt;Sounds great. Thanks for all your help Kirstina. I really appreciate it. &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="56927" author="kristina" created="Tue, 27 Sep 2011 14:36:38 +0000"  >&lt;p&gt;I&apos;d say don&apos;t bother attaching the logs for now.  If it happens again on ext4, please attach the logs from that.&lt;/p&gt;</comment>
                            <comment id="56873" author="ksandom" created="Tue, 27 Sep 2011 11:17:25 +0000"  >&lt;p&gt;It seems my comment has gone missing. Perhaps I got interrupted and forgot to submit it. &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;

&lt;p&gt;I saw Brendon yesterday and a change I made in the we&apos;ll-try-anything-phase was moving the data storage to ext3 from ext4. It sounds like the pre-allocation of space is a major issue.&lt;/p&gt;

&lt;p&gt;If you&apos;re happy that this is the cause, you are welcome to close the ticket. Or better yet, I am likely to migrate all the boxes back to ext4 (and this time on raid10) in the next few weeks. After that I&apos;ll likely be creating an empty replica set for a new shard. This would be an excellent test to find out if this is the sole issue.&lt;/p&gt;

&lt;p&gt;Would you still like the logs from the other boxes anyway?&lt;/p&gt;</comment>
                            <comment id="56633" author="kristina" created="Mon, 26 Sep 2011 14:45:35 +0000"  >&lt;p&gt;I&apos;m a little confused... what is the IP of the server whose log you sent?  I need the logs from 237 and 131, neither of which should be arbiters.&lt;/p&gt;</comment>
                            <comment id="56447" author="ksandom" created="Sat, 24 Sep 2011 16:02:16 +0000"  >&lt;p&gt;Oh btw! I simply grabbed roughly the same timeline as the original log snippet I posted. I&apos;m happy to supply more of either if it helps.&lt;/p&gt;</comment>
                            <comment id="56446" author="ksandom" created="Sat, 24 Sep 2011 15:58:14 +0000"  >&lt;p&gt;Nice. I&apos;ve attached the arbiter log as requested. I&apos;ll be interested to hear what you think.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Kevin &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;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="56314" author="kristina" created="Fri, 23 Sep 2011 22:06:16 +0000"  >&lt;p&gt;No, starting with no data is fine.  You should be able to start all the members empty, initiate one of them, and have the set start working.  It looks like you shut down the first member before the others had a chance to fully initialize, which got them stuck or something (which shouldn&apos;t happen).  Hopefully the logs will make the timeline clearer.&lt;/p&gt;</comment>
                            <comment id="56309" author="ksandom" created="Fri, 23 Sep 2011 21:55:09 +0000"  >&lt;p&gt;Sure, I&apos;ll dig up some logs tomorrow. &lt;/p&gt;

&lt;p&gt;I was trying to create a vanilla replicaset from nothing. So I had no DB to begin with.&lt;/p&gt;

&lt;p&gt;&amp;gt; You have to have a member in PRIMARY or SECONDARY state for another member to sync from.&lt;br/&gt;
I&apos;m starting to think I&apos;m doing it wrong, and I simply got away with it in 1.8.x. Do I have to have some local data on one node before creating the replica set?&lt;/p&gt;</comment>
                            <comment id="56270" author="kristina" created="Fri, 23 Sep 2011 20:56:56 +0000"  >&lt;p&gt;The underlying problem seems to be that 10.250.117.237 and 10.230.3.131 were in STARTUP2 state.  Do you guys have the logs for these servers?&lt;/p&gt;

&lt;p&gt;It looks like there wasn&apos;t any member it could sync from:&lt;/p&gt;

&lt;p&gt;Thu Sep 22 01:18:04 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet info member 10.234.78.94:27017 is up&lt;br/&gt;
Thu Sep 22 01:18:04 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet member 10.234.78.94:27017 is now in state ARBITER&lt;br/&gt;
Thu Sep 22 01:18:04 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.49.121.85:60016 #2&lt;br/&gt;
Thu Sep 22 01:18:04 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.250.117.237:54658 #3&lt;br/&gt;
Thu Sep 22 01:18:05 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.234.78.94:44265 #4&lt;br/&gt;
Thu Sep 22 01:18:05 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.230.3.131:39078 #5&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet info member 10.49.121.85:27017 is up&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet member 10.49.121.85:27017 is now in state ARBITER&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet info member 10.250.117.237:27017 is up&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet member 10.250.117.237:27017 is now in state STARTUP2&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet info member 10.230.3.131:27017 is up&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsHealthPoll&amp;#93;&lt;/span&gt; replSet member 10.230.3.131:27017 is now in state STARTUP2&lt;br/&gt;
Thu Sep 22 01:18:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:39994 #6&lt;/p&gt;

&lt;p&gt;You have to have a member in PRIMARY or SECONDARY state for another member to sync from.  &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13275" name="mongodb-arbiter.log" size="112787" author="ksandom" created="Sat, 24 Sep 2011 15:58:14 +0000"/>
                            <attachment id="13253" name="mongodb.slowCreatedRS.log" size="169087" author="tonyh" created="Thu, 22 Sep 2011 20:06:31 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 23 Sep 2011 20:56:56 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 21 weeks, 1 day 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>
                            12 years, 21 weeks, 1 day 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>ksandom</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>tonyh</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hropuf:</customfieldvalue>

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

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

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