<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:49:52 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-38741] Mongodb replset member fails to start &quot;CannotGrowDocumentInCappedNamespace: Cannot change the size of a document&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-38741</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongod start:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;2018-12-21T16:35:55.467+0100 I ASIO &lt;span class=&quot;error&quot;&gt;&amp;#91;NetworkInterfaceASIO-RS-0&amp;#93;&lt;/span&gt; Successfully connected to mongodb001.replset001.app.domain:27017, took 7ms (3 connections now open to mongodb001.replset001.app.domain27017)&lt;br/&gt;
2018-12-21T16:36:00.844+0100 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;conn10098&amp;#93;&lt;/span&gt; received client metadata from 192.168.100.192:44896 conn10098: { driver: &lt;/p&gt;
{ name: &quot;mongoc / ext-mongodb:PHP&quot;, version: &quot;1.13.0 / 1.5.3&quot; }
&lt;p&gt;, os: { type: &quot;Linux&quot;, name: &quot;Debian GNU/Linux&quot;, version: &quot;9&quot;, architecture: &quot;x86_64&quot; }, platform: &quot;cfg=0xd15620c9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS=&quot;-g -O2&quot; LDFLAGS=&quot;&quot; / PHP 7.2.13&quot; }&lt;br/&gt;
2018-12-21T16:37:27.830+0100 F REPL &lt;span class=&quot;error&quot;&gt;&amp;#91;repl writer worker 5&amp;#93;&lt;/span&gt; writer worker caught exception: 10003 Cannot change the size of a document in a capped collection: 71 != 86 on: { ts: Timestamp 1545406647000|4, h: -308296782776005596, v: 2, op: &quot;u&quot;, ns: &quot;app.taskscheduler.jobs&quot;, o2: &lt;/p&gt;
{ _id: ObjectId(&apos;5c1d087b95aa0a02386e9843&apos;) }
&lt;p&gt;, o: { $set: &lt;/p&gt;
{ status: 3, ended: new Date(1545406647813) }
&lt;p&gt; } }&lt;br/&gt;
2018-12-21T16:37:27.830+0100 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;repl writer worker 5&amp;#93;&lt;/span&gt; Fatal assertion 16359 CannotGrowDocumentInCappedNamespace: Cannot change the size of a document in a capped collection: 71 != 86 at src/mongo/db/repl/sync_tail.cpp 1087&lt;br/&gt;
2018-12-21T16:37:27.830+0100 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;repl writer worker 5&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;***aborting after fassert() failure&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Restart results in the same error.&lt;/p&gt;</description>
                <environment></environment>
        <key id="660114">SERVER-38741</key>
            <summary>Mongodb replset member fails to start &quot;CannotGrowDocumentInCappedNamespace: Cannot change the size of a document&quot;</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="raffis">raffis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Dec 2018 18:14:04 +0000</created>
                <updated>Fri, 21 Dec 2018 18:47:26 +0000</updated>
                            <resolved>Fri, 21 Dec 2018 18:47:26 +0000</resolved>
                                    <version>3.4.18</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2098739" author="daniel.hatcher" created="Fri, 21 Dec 2018 18:47:10 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Thanks for your report. This situation appears to be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38724&quot; title=&quot;Under rare conditions, updates to capped collections can cause SECONDARY members to fail&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38724&quot;&gt;&lt;del&gt;SERVER-38724&lt;/del&gt;&lt;/a&gt;. We&apos;ve seen this happen when the size of a capped collection is slightly different on the Secondary than the Primary which could be the result of data fragmentation. As of right now, the only known workaround is to &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/resync-replica-set-member/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;resync the affected node&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I advise you to watch &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38724&quot; title=&quot;Under rare conditions, updates to capped collections can cause SECONDARY members to fail&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38724&quot;&gt;&lt;del&gt;SERVER-38724&lt;/del&gt;&lt;/a&gt; for updates.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="658850">SERVER-38724</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 21 Dec 2018 18:47:10 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 7 weeks, 5 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>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>raffis</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huhb5j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu7cc7:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;I am certainly aware of the fact that a capped collection can not be changed. But this happens on a replset member.&lt;/p&gt;

&lt;p&gt;How did such an entry made it into the primary oplog?&lt;/p&gt;

&lt;p&gt;It would have failed on the primary member first, before such an entry even makes it into the oplog in the first place.&lt;/p&gt;

&lt;p&gt;&#160;And the mentioned document does not change in size on the primary.&#160; It could not have been created in the first place if it would!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Not sure how to reproduce this, but this is the second time we encountered this within two months.&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|hugxev:</customfieldvalue>

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