<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:05 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-434] bad recv() len while fresh slave initial cloning</title>
                <link>https://jira.mongodb.org/browse/SERVER-434</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am trying to build a fresh slave from an existing database hosted by a master running 1.0.1. Wanting to upgrade, i&apos;ve tried using 1.1.3 --slave from scratch. After cloning about 57GB, i get the following messages in the log file, and the slave restart cloning from 0. I&apos;ve tried downgrading to 1.0.1 and get the same results. &lt;/p&gt;

&lt;p&gt;I suspect some kind of data corruption on the master. Is there any way I could make the current master check the database&apos;s integrity ? Do you have some fsck-like tools ?&lt;/p&gt;

&lt;p&gt;I have 1 running slave that seem to work fine, and &lt;b&gt;should&lt;/b&gt; have the same data, but i&apos;m not sure i can trust it ...&lt;/p&gt;

&lt;p&gt;Any advice/guidance ?&lt;/p&gt;

&lt;p&gt;Here are the messages i get in the log file (after about 5 hours of cloning ...)&lt;/p&gt;

&lt;p&gt;Sun Nov 22 12:23:05 bad recv() len: 16760190&lt;br/&gt;
Sun Nov 22 12:23:05 Assertion: dbclient error communicating with server&lt;br/&gt;
Sun Nov 22 12:23:05 replMain AssertionException dbclient error communicating with server&lt;br/&gt;
Sun Nov 22 12:23:08 replMain: sleep 3 before next pass&lt;br/&gt;
Sun Nov 22 12:23:08 pull: main@mongodb.silentale.net&lt;br/&gt;
Sun Nov 22 12:23:13 An earlier initial clone of &apos;veronica_production&apos; did not complete, now resyncing.&lt;br/&gt;
Sun Nov 22 12:23:13 resync: dropping database veronica_production&lt;br/&gt;
Sun Nov 22 12:23:20 resync: cloning database veronica_production&lt;br/&gt;
Sun Nov 22 12:23:20 allocating new datafile /mongo/data/veronica_production.ns, filling with zeroes...&lt;br/&gt;
Sun Nov 22 12:23:21 done allocating datafile /mongo/data/veronica_production.ns, size: 16777216, took 0.033 secs&lt;br/&gt;
Sun Nov 22 12:23:21 allocating new datafile /mongo/data/veronica_production.0, filling with zeroes...&lt;br/&gt;
Sun Nov 22 12:23:21 done allocating datafile /mongo/data/veronica_production.0, size: 67108864, took 0.088 secs&lt;br/&gt;
Sun Nov 22 12:23:21 building new index on Sun Nov 22 12:23:21 allocating new datafile /mongo/data/veronica_production.1, filling with zeroes...&lt;/p&gt;
{ _id: ObjId(000000000000000000000000) }
&lt;p&gt; for veronica_production.messages_dIMgDw5kyqljzXeJe6ak2s...done for 0 records&lt;br/&gt;
Sun Nov 22 12:23:21 building new index on &lt;/p&gt;
{ _id: ObjId(000000000000000000000000) }
&lt;p&gt; for veronica_production.messages_biXwEm5kSqljzXeJe6ak2s...done for 0 records&lt;/p&gt;

&lt;p&gt;And in the master&apos;s log at that time:&lt;/p&gt;

&lt;p&gt;Sun Nov 22 12:23:05 killCursors: found 1 of 1&lt;br/&gt;
Sun Nov 22 12:23:05 killcursors  30ms&lt;br/&gt;
Sun Nov 22 12:23:05 MessagingPort recv() error &quot;Connection reset by peer&quot; (104) 10.241.79.207:1434&lt;br/&gt;
Sun Nov 22 12:23:05 end connection 10.241.79.207:1434&lt;br/&gt;
Sun Nov 22 12:23:05 killCursors: found 0 of 1&lt;br/&gt;
Sun Nov 22 12:23:05 killcursors  18ms&lt;br/&gt;
Sun Nov 22 12:23:05 end connection 10.241.79.207:1178&lt;/p&gt;
</description>
                <environment>Linux amazonaws.com 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux</environment>
        <key id="10904">SERVER-434</key>
            <summary>bad recv() len while fresh slave initial cloning</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="5">Cannot Reproduce</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="erwan">Erwan Arzur</reporter>
                        <labels>
                    </labels>
                <created>Sun, 22 Nov 2009 08:32:40 +0000</created>
                <updated>Fri, 15 Jan 2010 01:34:46 +0000</updated>
                            <resolved>Sun, 22 Nov 2009 22:24:17 +0000</resolved>
                                    <version>1.0.1</version>
                    <version>1.1.3</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11326" author="eliot" created="Thu, 10 Dec 2009 09:48:30 +0000"  >&lt;p&gt;Correct - it wouldn&apos;t have anything to do with utf-8.&lt;br/&gt;
It&apos;s most likely a large object.&lt;/p&gt;</comment>
                            <comment id="11325" author="nicolas_" created="Thu, 10 Dec 2009 09:45:11 +0000"  >&lt;p&gt;One thing is sure, it is not related to documents containing non-utf8 characters. See &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/4e3aa74f1a6fe5fc/c944fa1d0953adce#c944fa1d0953adce&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/4e3aa74f1a6fe5fc/c944fa1d0953adce#c944fa1d0953adce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11204" author="eliot" created="Sun, 22 Nov 2009 22:24:17 +0000"  >&lt;p&gt;can you run validate() or check size of the obejcts.&lt;br/&gt;
i thin it must be a large object.&lt;br/&gt;
also can run with --objcheck&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 22 Nov 2009 22:24:17 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 years, 10 weeks, 6 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>eliot</customfieldvalue>
            <customfieldvalue>erwan</customfieldvalue>
            <customfieldvalue>nicolas_</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpui7:</customfieldvalue>

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

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

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