<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:21:37 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-50067] Initial sync attempt failed multiple times and throw MaxTimeMSExpired error</title>
                <link>https://jira.mongodb.org/browse/SERVER-50067</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;From the log below, the initial sync attempt failed multiple times by the same&#160;MaxTimeMSExpired error and shut down finally. Could you help me to find the reason for this?&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;2020-07-27T21:47:45.305+0000 E - &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Assertion: BSONObjectTooLarge: BSONObj size: 36469414 (0x22C7AA6) is invalid. Size must be between 0 and 16793600(16MB) First element: failedInitialSyncAttempts: 9 src/mongo/bson/bsonobj.cpp 98&lt;br/&gt;
2020-07-27T21:47:45.305+0000 I INITSYNC &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Error creating initial sync progress object: BSONObjectTooLarge: BSONObj size: 36469414 (0x22C7AA6) is invalid. Size must be between 0 and 16793600(16MB) First element: failedInitialSyncAttempts: 9&lt;br/&gt;
2020-07-27T21:47:45.305+0000 I INITSYNC &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Initial Sync Attempt Statistics: { failedInitialSyncAttempts: 9, maxFailedInitialSyncAttempts: 10, initialSyncStart: new Date(1595879408073), initialSyncAttempts: [ &lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: { durationMillis}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;, { durationMillis: 1449358, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 82011, status: &quot;NetworkInterfaceExceededTimeLimit: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: Request 48...&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 1268589, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 100113, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 109455, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 132139, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 120688, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; }, { durationMillis: 81710, status: &quot;MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&quot;, syncSource: &quot;infra1.sd.tusimple.ai:27017&quot; } ], fetchedMissingDocs: 0, appliedOps: 0, initialSyncOplogStart: Timestamp(1595884194, 9), initialSyncOplogFetchingStart: Timestamp(1595884060, 1) }&lt;br/&gt;
2020-07-27T21:47:45.305+0000 E INITSYNC &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Initial sync attempt failed &amp;#8211; attempts left: 0 cause: MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit&lt;br/&gt;
2020-07-27T21:47:45.305+0000 F INITSYNC &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; The maximum number of retries have been exhausted for initial sync.&lt;br/&gt;
2020-07-27T21:47:45.305+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Finishing collection drop for local.temp_oplog_buffer (11ccdcf7-894f-4b8e-9323-2f354c26cbc4).&lt;br/&gt;
2020-07-27T21:47:45.307+0000 E REPL &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Initial sync failed, shutting down now. Restart the server to attempt a new initial sync.&lt;br/&gt;
2020-07-27T21:47:45.307+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt; Fatal assertion 40088 MaxTimeMSExpired: error fetching oplog during initial sync :: caused by :: error in fetcher batch callback :: caused by :: operation exceeded time limit at src/mongo/db/repl/replication_coordinator_impl.cpp 745&lt;br/&gt;
2020-07-27T21:47:45.307+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;replication-11&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;***aborting after fassert() failure&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="1425831">SERVER-50067</key>
            <summary>Initial sync attempt failed multiple times and throw MaxTimeMSExpired error</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="13204">Community Answered</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="zhuoran.dong@tusimple.ai">Zhuoran Dong</reporter>
                        <labels>
                    </labels>
                <created>Sat, 1 Aug 2020 01:54:21 +0000</created>
                <updated>Fri, 27 Oct 2023 15:56:31 +0000</updated>
                            <resolved>Sun, 9 Aug 2020 11:27:41 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3317753" author="JIRAUSER1254733" created="Mon, 3 Aug 2020 15:36:27 +0000"  >&lt;p&gt;Got it. Thank you.&lt;/p&gt;</comment>
                            <comment id="3317259" author="dmitry.agranat" created="Mon, 3 Aug 2020 09:30:26 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=zhuoran.dong%40tusimple.ai&quot; class=&quot;user-hover&quot; rel=&quot;zhuoran.dong@tusimple.ai&quot;&gt;zhuoran.dong@tusimple.ai&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The reason for the failing initial sync is due to inability to replicate data which BSON size is larger than the maximum 16 MB. I am not sure if you have multiple objects like this but some are 45 MB, for example: &lt;tt&gt;BSONObjectTooLarge: BSONObj size: 47724603&lt;/tt&gt;. I recommend fixing the BSONObj size issue in your cluster and retrying initial sync.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3317125" author="JIRAUSER1254733" created="Mon, 3 Aug 2020 00:12:16 +0000"  >&lt;p&gt;Hi Dmitry, the mongod.log and diagnostic.data directory are uploaded.&lt;/p&gt;</comment>
                            <comment id="3317033" author="dmitry.agranat" created="Sun, 2 Aug 2020 10:46:12 +0000"  >
&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=zhuoran.dong%40tusimple.ai&quot; class=&quot;user-hover&quot; rel=&quot;zhuoran.dong@tusimple.ai&quot;&gt;zhuoran.dong@tusimple.ai&lt;/a&gt;, so that we can investigate these issues further, would you please archive (tar or zip) the mongod.log files and the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory covering one or more of these incidents (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;) and upload them to this [support uploader|https://10gen-httpsupload.s3.amazonaws.com/upload_forms/91f42bb8-1a8e-43f8-8e71-2be4d739ba43.html location?&lt;/p&gt;

&lt;p&gt;Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&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>Sun, 2 Aug 2020 10:46:12 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 27 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>zhuoran.dong@tusimple.ai</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxxlxj:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxx86v:</customfieldvalue>

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