<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:44:43 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-17510] &quot;Didn&apos;t find RecordId in WiredTigerRecordStore&quot; on collections after an idle period</title>
                <link>https://jira.mongodb.org/browse/SERVER-17510</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A bug in an internal WiredTiger thread could cause corruption in collections that become idle, then are later updated again.&lt;/p&gt;

&lt;p&gt;A WiredTiger thread that discards old collections in cache could (under rare circumstances) start discarding a collection but give up part way through, leaving an incomplete tree in cache.  If that collection was subsequently updated, the on-disk tree could become corrupted.  A &lt;tt&gt;repairDatabase&lt;/tt&gt; operation may be required to salvage data.&lt;/p&gt;</description>
                <environment></environment>
        <key id="188176">SERVER-17510</key>
            <summary>&quot;Didn&apos;t find RecordId in WiredTigerRecordStore&quot; on collections after an idle period</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="michael.cahill@mongodb.com">Michael Cahill</assignee>
                                    <reporter username="michael.cahill@mongodb.com">Michael Cahill</reporter>
                        <labels>
                            <label>ET</label>
                    </labels>
                <created>Mon, 9 Mar 2015 06:12:26 +0000</created>
                <updated>Wed, 23 May 2018 12:00:56 +0000</updated>
                            <resolved>Mon, 9 Mar 2015 18:32:57 +0000</resolved>
                                    <version>3.0.0</version>
                                    <fixVersion>3.0.1</fixVersion>
                    <fixVersion>3.1.0</fixVersion>
                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="1899332" author="ramon.fernandez" created="Wed, 23 May 2018 12:00:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=onkarb&quot; class=&quot;user-hover&quot; rel=&quot;onkarb&quot;&gt;onkarb&lt;/a&gt;, MongoDB 3.0 is EOL &amp;#8211; please upgrade to a supported version (MongoDB 3.6 at the moment) and if the problem persists open a new ticket.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1899217" author="onkarb" created="Wed, 23 May 2018 06:44:27 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;&#160; We are using MongoDb 3.0.15 in standalone mode and&#160; facing similar issue. Following log is observed in mongod.log while trying to backup database using mongodump command.&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#333333&quot;&gt;&lt;b&gt;2018-05-22T01:43:50.759-0700 I QUERY &lt;span class=&quot;error&quot;&gt;&amp;#91;conn770575&amp;#93;&lt;/span&gt; assertion 28556 Didn&apos;t find RecordId in WiredTigerRecordStore ns:analytics_data_C88351b08d33664e013d8ad07ea32ff51.client_visit_data query:{ $query: {}, $snapshot: true }&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;We have recently migrated MongoDb 3.0.6 to 3.0.15. To fix this issue we even executed repairDatabase() command for all databases, but it looks like issue gets reproduced again. Also this issue is observed for more than 1 collections.&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; I have attached complete back trace observed in mongod.log also I have attached O/p of db.serverStatus() command as a attachment files. I would like to understand&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Scenarios where Wiredtiger encounters this issue ?&lt;/li&gt;
	&lt;li&gt;Also is there any workaround to recover database so that we can backup MongoDb database and avoid such a issue? Is this issue also dependent on number of databases/ collections present on single machine ? &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/187458/187458_Log_To_Upload&quot; title=&quot;Log_To_Upload attached to SERVER-17510&quot;&gt;Log_To_Upload&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/187459/187459_serverStatus%28%29+command&quot; title=&quot;serverStatus() command attached to SERVER-17510&quot;&gt;serverStatus() command&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Thanks in advance.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Onkar&lt;/p&gt;</comment>
                            <comment id="918171" author="ramon.fernandez" created="Tue, 19 May 2015 17:48:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sega&quot; class=&quot;user-hover&quot; rel=&quot;sega&quot;&gt;sega&lt;/a&gt;, if you upgraded this replica set from 3.0.0 to 3.0.3 (possibly via 3.0.1 and/or 3.0.2) this is most likely &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17506&quot; title=&quot;Race between inserts and checkpoints can lose records under WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17506&quot;&gt;&lt;del&gt;SERVER-17506&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you either installed this replica set from scratch, or upgraded them but &lt;b&gt;never run 3.0.0&lt;/b&gt;, please open a separate ticket and upload all the relevant information (including logs for all nodes).&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n&lt;/p&gt;</comment>
                            <comment id="918084" author="sega" created="Tue, 19 May 2015 16:16:37 +0000"  >&lt;p&gt;&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;, I&apos;ve replica set with 3 nodes with same version of mongod (3.0.3)&lt;/p&gt;</comment>
                            <comment id="918026" author="ramon.fernandez" created="Tue, 19 May 2015 15:39:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sega&quot; class=&quot;user-hover&quot; rel=&quot;sega&quot;&gt;sega&lt;/a&gt;, were you running 3.0.0 at one point? If you were, it&apos;s possible that you were affected by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17506&quot; title=&quot;Race between inserts and checkpoints can lose records under WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17506&quot;&gt;&lt;del&gt;SERVER-17506&lt;/del&gt;&lt;/a&gt; but the effects did not manifest until now.&lt;/p&gt;</comment>
                            <comment id="917864" author="sega" created="Tue, 19 May 2015 13:59:37 +0000"  >&lt;p&gt;Hi, I still have this issue in 3.0.3 (repairDatabase temporary resolve it)&lt;/p&gt;</comment>
                            <comment id="857285" author="ramon.fernandez" created="Wed, 18 Mar 2015 20:50:29 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sallgeud&quot; class=&quot;user-hover&quot; rel=&quot;sallgeud&quot;&gt;sallgeud&lt;/a&gt;, this issue was fixed in the 3.0.1 stable release and the 3.1.0 development release, both published yesterday.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="856982" author="sallgeud" created="Wed, 18 Mar 2015 17:31:01 +0000"  >&lt;p&gt;So this wasn&apos;t fixed?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="188009">SERVER-17506</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="187458" name="Log_To_Upload" size="5434" author="onkarb" created="Wed, 23 May 2018 06:44:11 +0000"/>
                            <attachment id="187459" name="serverStatus() command" size="23021" author="onkarb" created="Wed, 23 May 2018 06:44:20 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="14846">3.0.1</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>Mon, 9 Mar 2015 18:31:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 38 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>
                            5 years, 38 weeks 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>sallgeud</customfieldvalue>
            <customfieldvalue>michael.cahill@mongodb.com</customfieldvalue>
            <customfieldvalue>onkarb</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>sega</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlb5z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs6x0n:</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;No self-contained repro has been found.  This bug has only been observed on complex systems.  In particular, workloads that continually update collections will not hit this problem: only workloads where collections are idle for a period, then updated can trigger this bug,&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|hsg7m7:</customfieldvalue>

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