<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:10:16 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-5927] During full resyncing, when a connection error happens, thread fault appears and restart full resyncing. Is this a correct process?</title>
                <link>https://jira.mongodb.org/browse/SERVER-5927</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We tried the full resyncing(remove all files in dbpath, then restart mongod). &lt;/p&gt;

&lt;p&gt;After for a while, we found these messages. And mongod continues to sync fully again.&lt;/p&gt;

&lt;p&gt;Is this a correct process that can be happened?&lt;/p&gt;

&lt;p&gt;=======================================================================================&lt;br/&gt;
Fri May 25 01:26:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; 8120473 objects cloned so far from collection mylog.fs.chunks&lt;br/&gt;
Fri May 25 01:26:18 &lt;span class=&quot;error&quot;&gt;&amp;#91;FileAllocator&amp;#93;&lt;/span&gt; allocating new datafile /log/data/repl01_2/mylog.108, filling with zeroes...&lt;br/&gt;
Fri May 25 01:26:32 &lt;span class=&quot;error&quot;&gt;&amp;#91;FileAllocator&amp;#93;&lt;/span&gt; done allocating datafile /log/data/repl01_2/mylog.108, size: 2047MB,  took 14.517 secs&lt;br/&gt;
Fri May 25 01:26:33 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; clone mylog.fs.chunks 8142975&lt;br/&gt;
...... # some connection messages&lt;br/&gt;
Fri May 25 01:26:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; Socket recv() errno:104 Connection reset by peer fc1301:35000&lt;br/&gt;
Fri May 25 01:26:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; SocketException: remote: fc1301:35000 error: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; server &lt;span class=&quot;error&quot;&gt;&amp;#91;fc1301:35000&amp;#93;&lt;/span&gt;&lt;br/&gt;
Fri May 25 01:26:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; Assertion: 13273:single data buffer expected&lt;br/&gt;
0x584722 0x5df960 0x5e18c8 0x5bf339 0x84cb77 0x84eb15 0x850409 0x82bfbe 0x82dbd3 0x826ee1 0x826f9a 0x827420 0xaa80b0 0x37c900673d 0x37c84d3d1d&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x112) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x584722&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo14DBClientCursor12dataReceivedERbRSs+0x180) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5df960&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo14DBClientCursor18exhaustReceiveMoreEv+0x158) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5e18c8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo18DBClientConnection5queryEN5boost8functionIFvRNS_27DBClientCursorBatchIteratorEEEERKSsNS_5QueryEPKNS_7BSONObjEi+0x209) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5bf339&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo6Cloner4copyEPKcS2_bbbbbbNS_5QueryE+0x3a7) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x84cb77&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo6Cloner2goEPKcRSsRKSsbbbbbbPi+0x1665) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x84eb15&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo9cloneFromEPKcRSsRKSsbbbbbbPi+0x59) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x850409&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl18_syncDoInitialSyncEv+0xe5e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x82bfbe&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl17syncDoInitialSyncEv+0x23) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x82dbd3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl11_syncThreadEv+0x61) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x826ee1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x4a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x826f9a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(_ZN5mongo15startSyncThreadEv+0xa0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x827420&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/logadmin/mongodb/bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa80b0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x37c900673d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x37c84d3d1d&amp;#93;&lt;/span&gt;&lt;br/&gt;
Fri May 25 01:26:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; Socket flush send() errno:9 Bad file descriptor fc1301:35000&lt;br/&gt;
Fri May 25 01:26:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt;  mylog caught exception (socket exception) in destructor (~PiggyBackData)&lt;br/&gt;
Fri May 25 01:26:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync exception 13273 single data buffer expected&lt;br/&gt;
...... # some writebacklisten meesages &lt;br/&gt;
Fri May 25 01:27:27 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync pending&lt;br/&gt;
Fri May 25 01:27:27 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet syncing to: fc1301:35000&lt;br/&gt;
Fri May 25 01:27:27 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync drop all databases&lt;br/&gt;
Fri May 25 01:27:27 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; dropAllDatabasesExceptLocal 2&lt;br/&gt;
Fri May 25 01:27:27 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; removeJournalFiles&lt;br/&gt;
=======================================================================================&lt;/p&gt;</description>
                <environment>Oracle linux 5.7, iSCSI(not shared with network)&lt;br/&gt;
4 shards. 5 members for each shard</environment>
        <key id="39585">SERVER-5927</key>
            <summary>During full resyncing, when a connection error happens, thread fault appears and restart full resyncing. Is this a correct process?</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="4">Incomplete</resolution>
                                        <assignee username="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="k2hyun">Kihyun Kim</reporter>
                        <labels>
                            <label>replication</label>
                            <label>resyncing</label>
                    </labels>
                <created>Fri, 25 May 2012 02:17:13 +0000</created>
                <updated>Fri, 8 Mar 2013 15:55:59 +0000</updated>
                            <resolved>Tue, 27 Nov 2012 16:50:46 +0000</resolved>
                                    <version>2.0.2</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="157601" author="redbeard0531" created="Tue, 28 Aug 2012 17:25:21 +0000"  >&lt;p&gt;Mongodump and resyncing use very similar mechanisms. Are you sure that the mongodump succeeds without error between the same two machines? It could just be timing related then. Does mongod eventually complete it&apos;s resync or does it get stuck at the same point every time?&lt;/p&gt;</comment>
                            <comment id="153835" author="k2hyun" created="Thu, 16 Aug 2012 02:37:09 +0000"  >&lt;p&gt;Ok, it looks like a network weakness issue.&lt;br/&gt;
And there is no negative effects except infinitely re-sync.&lt;br/&gt;
but every running of mongodump works good without any error or warning messages. if a mongodump is using other special mechanism to failover from the network problem, what do you think about applying to re-syncing process?&lt;/p&gt;</comment>
                            <comment id="151207" author="redbeard0531" created="Tue, 7 Aug 2012 17:55:30 +0000"  >&lt;p&gt;It looks like there was a connectivity issue which the server was able to recover from. Have there been any negative effects?&lt;/p&gt;</comment>
                            <comment id="142735" author="auto" created="Fri, 13 Jul 2012 13:22:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-07-13T06:22:39-07:00&apos;, u&apos;email&apos;: u&apos;ian.whalen@gmail.com&apos;, u&apos;name&apos;: u&apos;Ian Whalen&apos;}
&lt;p&gt;Message: Merge pull request #263 from stevebriskin/master&lt;/p&gt;

&lt;p&gt;JS tests for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5927&quot; title=&quot;During full resyncing, when a connection error happens, thread fault appears and restart full resyncing. Is this a correct process?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5927&quot;&gt;&lt;del&gt;SERVER-5927&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/26d6610d0dca3d9eaad55dd5bef18ec28b4546a9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/26d6610d0dca3d9eaad55dd5bef18ec28b4546a9&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>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, 13 Jul 2012 13:22:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 25 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>false</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>
                            11 years, 25 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>auto</customfieldvalue>
            <customfieldvalue>k2hyun</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro1yf:</customfieldvalue>

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

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

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