<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:12:38 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-6762] Assertion failure cursor.get() db/repl/../oplogreader.h 93</title>
                <link>https://jira.mongodb.org/browse/SERVER-6762</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have a 5 servers replset in our production enviroment. But recently, it got a huge replication lag frequently.&lt;br/&gt;
I checked the mongodb log file, each time the replication lag happens, I saw this in the log file:&lt;/p&gt;

&lt;p&gt;Mon Aug 13 22:46:36 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; Socket recv() timeout  10.20.1.18:27017&lt;br/&gt;
Mon Aug 13 22:46:36 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; SocketException: remote: 10.20.1.18:27017 error: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; server &lt;span class=&quot;error&quot;&gt;&amp;#91;10.20.1.18:27017&amp;#93;&lt;/span&gt; &lt;br/&gt;
Mon Aug 13 22:46:36 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; DBClientCursor::init call() failed&lt;br/&gt;
Mon Aug 13 22:46:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet syncing to: 10.20.1.18:27017&lt;br/&gt;
Mon Aug 13 22:46:49 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsGhostSync&amp;#93;&lt;/span&gt; Socket recv() timeout  10.20.1.18:27017&lt;br/&gt;
Mon Aug 13 22:46:49 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsGhostSync&amp;#93;&lt;/span&gt; SocketException: remote: 10.20.1.18:27017 error: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; server &lt;span class=&quot;error&quot;&gt;&amp;#91;10.20.1.18:27017&amp;#93;&lt;/span&gt; &lt;br/&gt;
Mon Aug 13 22:46:49 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsGhostSync&amp;#93;&lt;/span&gt; DBClientCursor::init call() failed&lt;br/&gt;
Mon Aug 13 22:46:49 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsGhostSync&amp;#93;&lt;/span&gt;   Assertion failure cursor.get() db/repl/../oplogreader.h 93&lt;br/&gt;
0x57a8a6 0x5853eb 0x8254f1 0x58fc23 0x58d7f4 0x58ce23 0x5742ef 0x576664 0xaabca0 0x7f9d48025070 0x7f9d4761e10d &lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5mongo12sayDbContextEPKc+0x96) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x57a8a6&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5mongo8assertedEPKcS1_j+0xfb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5853eb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5mongo9GhostSync9percolateERKNS_7BSONObjERKNS_6OpTimeE+0xbb1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8254f1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZNK5boost9function0IvEclEv+0x243) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x58fc23&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5mongo4task6Server6doWorkEv+0x254) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x58d7f4&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5mongo4task4Task3runEv+0x33) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x58ce23&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0xbf) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5742ef&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x74) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x576664&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/local/mongodb/bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaabca0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f9d48025070&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f9d4761e10d&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Once the connection timeout, mongodb stopped pulling oplog from the primary node for some time until the connection is re-established. Because the replset is using a Chained replication, if the first secondary node in the chain has a timeout connection with the primary node, then all the other secondary nodes connect to it became lag too.&lt;/p&gt;

&lt;p&gt;This happened so often and we didn&apos;t manage to find anything about this, can you help us checking if it&apos;s a bug or not.&lt;/p&gt;</description>
                <environment>SLES 11</environment>
        <key id="47048">SERVER-6762</key>
            <summary>Assertion failure cursor.get() db/repl/../oplogreader.h 93</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="9">Done</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="rodericliu">Roderic Liu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Aug 2012 09:16:34 +0000</created>
                <updated>Mon, 11 Jul 2016 17:59:16 +0000</updated>
                            <resolved>Wed, 5 Sep 2012 14:16:19 +0000</resolved>
                                    <version>2.0.6</version>
                                    <fixVersion>2.3.0</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="160593" author="auto" created="Wed, 5 Sep 2012 14:14:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-05T07:11:55-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Check repl cursor before using &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6762&quot; title=&quot;Assertion failure cursor.get() db/repl/../oplogreader.h 93&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6762&quot;&gt;&lt;del&gt;SERVER-6762&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f0a27d72c5b41866db1b49b83e4e176e0952ea23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f0a27d72c5b41866db1b49b83e4e176e0952ea23&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="153309" author="kristina" created="Tue, 14 Aug 2012 17:16:41 +0000"  >&lt;p&gt;Yes, this is a bug.  Triaging...&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 14 Aug 2012 17:16:41 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 24 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="10020"><![CDATA[Linux]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10259</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></customfieldvalue>

                        </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|hsomd3:</customfieldvalue>

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