<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:37: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-15303] passes &gt;= maxPasses in oplog</title>
                <link>https://jira.mongodb.org/browse/SERVER-15303</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;While running a major batch run, which updates a lot of documents, we are occasionally seeing this error: &lt;blockquote&gt;&lt;p&gt;MongoDB.Driver.WriteConcernException: WriteConcern detected an error &apos;passes &amp;gt;= maxPasses in NamespaceDetails::cappedAlloc: ns: local.oplog.rs, len: 1060528, maxPasses: 35352, _maxDocsInCapped: 2147483647, nrecords: 8019946, datasize: 8426545700&apos;. (Response was { &quot;ok&quot; : 1, &quot;code&quot; : 10345, &quot;err&quot; : &quot;passes &amp;gt;= maxPasses in NamespaceDetails::cappedAlloc: ns: local.oplog.rs, len: 1060528, maxPasses: 35352, _maxDocsInCapped: 2147483647, nrecords: 8019946, datasize: 8426545700&quot;, &quot;n&quot; : NumberLong(0), &quot;updatedExisting&quot; : false }).&lt;/p&gt;&lt;/blockquote&gt;&lt;br/&gt;
It causes an exception in the client (.NET) application.&lt;br/&gt;
Apparently the error is generated in &lt;a href=&quot;https://github.com/thomashjorslev/mongo/blob/v2.6.3/src/mongo/db/structure/catalog/cap.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;cap.cpp&lt;/a&gt;&lt;br/&gt;
As far as I can tell from the error message, the document is 1060528, and it gives up after having removed 35352 documents from the oplog.&lt;br/&gt;
We have seen this error 8 times since July 5 (on a job that runs daily).&lt;br/&gt;
&lt;tt&gt;len&lt;/tt&gt; varies between 200k and 1600k&lt;/p&gt;</description>
                <environment></environment>
        <key id="158885">SERVER-15303</key>
            <summary>passes &gt;= maxPasses in oplog</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="tmh@fundconnect.com">Thomas Hjorslev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Sep 2014 14:27:29 +0000</created>
                <updated>Mon, 22 Sep 2014 06:31:24 +0000</updated>
                            <resolved>Thu, 18 Sep 2014 15:23:53 +0000</resolved>
                                    <version>2.6.3</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="723844" author="tmh@fundconnect.com" created="Mon, 22 Sep 2014 06:31:24 +0000"  >&lt;p&gt;Thank you &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ramon.fernandez&quot; class=&quot;user-hover&quot; rel=&quot;ramon.fernandez&quot;&gt;ramon.fernandez&lt;/a&gt; for your feedback.&lt;br/&gt;
As far as I can tell, there is nothing we can do to work around the problem, except re-running the operation that failed, at a later time.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6981&quot; title=&quot;maxPasses assertion (on allocation failure) can make capped collection unreadable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6981&quot;&gt;&lt;del&gt;SERVER-6981&lt;/del&gt;&lt;/a&gt; seems to be planned for the 2.7 release, so I guess we will wait for that.&lt;/p&gt;</comment>
                            <comment id="723429" author="ramon.fernandez" created="Fri, 19 Sep 2014 21:29:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tmh%40fundconnect.com&quot; class=&quot;user-hover&quot; rel=&quot;tmh@fundconnect.com&quot;&gt;tmh@fundconnect.com&lt;/a&gt;, there&apos;re is &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15265?focusedCommentId=723342&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-723342&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;further information on this issue on SERVER-15265&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="721991" author="ramon.fernandez" created="Thu, 18 Sep 2014 15:23:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tmh%40fundconnect.com&quot; class=&quot;user-hover&quot; rel=&quot;tmh@fundconnect.com&quot;&gt;tmh@fundconnect.com&lt;/a&gt;, looks like you&apos;re running into &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6981&quot; title=&quot;maxPasses assertion (on allocation failure) can make capped collection unreadable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6981&quot;&gt;&lt;del&gt;SERVER-6981&lt;/del&gt;&lt;/a&gt;, which can happen when inserting a large document into the oplog. Marking this ticket as a duplicate, feel free to watch/vote for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6981&quot; title=&quot;maxPasses assertion (on allocation failure) can make capped collection unreadable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6981&quot;&gt;&lt;del&gt;SERVER-6981&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="50003">SERVER-6981</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>Thu, 18 Sep 2014 15:23:42 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 21 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>tmh@fundconnect.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlnpb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>138327</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Seems to happen randomly (based on what is at the tail of the oplog?)&lt;/p&gt;</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|hsgn2v:</customfieldvalue>

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