<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:20:12 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-49542] MongoDB Repair is failing -- need help</title>
                <link>https://jira.mongodb.org/browse/SERVER-49542</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Issue&#160; : User has dropped collections, we have only file system level snapshot and restored to a directory. (we can see all files and everything is located in this directory only)&lt;/p&gt;

&lt;p&gt;MongoDB Version - 4.0.18&lt;/p&gt;

&lt;p&gt;Command Issued to repair :&#160;&lt;/p&gt;

&lt;p&gt;mongod --dbpath filesystempath --repair --wiredTigerCacheSizeGB 10 -vvvvvv&lt;/p&gt;

&lt;p&gt;Errors&lt;/p&gt;

&lt;p&gt;2020-07-16T18:58:42.090+0530 F STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Record store did not exist. Collection: CollectionName.XXXX.LA.1.0-00209-STD.INT-1 UUID: 2fed7adb-4c2d-4d59-8375-d64d84e36cae&lt;br/&gt;
2020-07-16T18:58:42.090+0530 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Fatal Assertion 50936 at src/mongo/db/catalog/database_impl.cpp 228&lt;br/&gt;
2020-07-16T18:58:42.090+0530 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;&lt;/p&gt;

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

&lt;p&gt;Please let me know what I am missing, as per logs I see it is fetching metadata and looks good,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1412069">SERVER-49542</key>
            <summary>MongoDB Repair is failing -- need help</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="9">Done</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="calyankumar@gmail.com">Kalyan Kumar A</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Jul 2020 13:41:56 +0000</created>
                <updated>Wed, 22 Jun 2022 17:45:15 +0000</updated>
                            <resolved>Tue, 28 Jul 2020 13:58:35 +0000</resolved>
                                    <version>4.0.18</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3309787" author="dmitry.agranat" created="Tue, 28 Jul 2020 13:58:07 +0000"  >&lt;p&gt;Thank you for the update &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=calyankumar%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;calyankumar@gmail.com&quot;&gt;calyankumar@gmail.com&lt;/a&gt;, I will go ahead and close this case.&lt;/p&gt;</comment>
                            <comment id="3309051" author="JIRAUSER1269864" created="Tue, 28 Jul 2020 11:30:01 +0000"  >&lt;p&gt;Hi Dmitry&lt;/p&gt;

&lt;p&gt;I have downloaded latest version and recovery is fine and able to bring&lt;br/&gt;
database online&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</comment>
                            <comment id="3308728" author="dmitry.agranat" created="Tue, 28 Jul 2020 05:04:22 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=calyankumar%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;calyankumar@gmail.com&quot;&gt;calyankumar@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;If this is still an issue for you, would you please attach copies of the wiredTiger.wt and wiredTiger.turtle files?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3293962" author="dmitry.agranat" created="Tue, 21 Jul 2020 08:13:34 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=calyankumar%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;calyankumar@gmail.com&quot;&gt;calyankumar@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Please attach copies of the &lt;tt&gt;wiredTiger.wt&lt;/tt&gt; and &lt;tt&gt;wiredTiger.turtle&lt;/tt&gt; files and we can attempt a metadata-only repair effort using internal tools.&lt;/p&gt;

&lt;p&gt;Keep in mind that this repair effort may not be successful, and that diagnosing corruption issues requires significant information and effort.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3288394" author="JIRAUSER1269864" created="Thu, 16 Jul 2020 17:05:36 +0000"  >&lt;p&gt;Thanks for looking into it, We have identified there is issue with one of the collection file has checksum issue.&#160; We would like to know how to skip the corrupted collections and proceed with repair&lt;/p&gt;

&lt;p&gt;I am sorry, I may not be able to upload complete log file because it contains some sensitive information.&lt;/p&gt;

&lt;p&gt;wt tool log output:&lt;/p&gt;

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

&lt;p&gt;/wt -v -h /prj/mongobackups/drgbackup/drgprd -C &quot;extensions=&lt;span class=&quot;error&quot;&gt;&amp;#91;./ext/compressors/snappy/.libs/libwiredtiger_snappy.so&amp;#93;&lt;/span&gt;&quot; -R salvage /tmp/collection-200-3081784708227248719.wt&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1594914717:952843&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;23113:0x7f636363f740&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:WiredTiger.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:WiredTiger.wt&lt;/a&gt;, WT_CURSOR.next: read checksum error for 16384B block at offset 3317760: block header checksum of 712246094 doesn&apos;t match expected checksum of 2763696572&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1594914717:952892&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;23113:0x7f636363f740&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:WiredTiger.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:WiredTiger.wt&lt;/a&gt;, WT_CURSOR.next: WiredTiger.wt: encountered an illegal file format or internal value&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1594914717:952907&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;23113:0x7f636363f740&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:WiredTiger.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:WiredTiger.wt&lt;/a&gt;, WT_CURSOR.next: the process must exit and restart: WT_PANIC: WiredTiger library panic&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1594914717:952939&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;23113:0x7f636363f740&amp;#93;&lt;/span&gt;, txn-recover: Recovery failed: WT_PANIC: WiredTiger library panic&lt;br/&gt;
lt-wt: WT_PANIC: WiredTiger library panic&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@host wiredtiger-2.7.0&amp;#93;&lt;/span&gt;#&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3288199" author="louis.williams" created="Thu, 16 Jul 2020 15:42:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=calyankumar%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;calyankumar@gmail.com&quot;&gt;calyankumar@gmail.com&lt;/a&gt;, can you please provide the full repair output?&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 16 Jul 2020 15:42:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 28 weeks, 1 day 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, 28 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>calyankumar@gmail.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxv9v3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxi6ev:</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|hxuw4f:</customfieldvalue>

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