<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:05:29 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-4266] Need to support --repairpath outside of --dbpath with journaling on</title>
                <link>https://jira.mongodb.org/browse/SERVER-4266</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Start a new database, insert 1 document in it. Now shutdown the database and run mongod --repair --repairpath &amp;lt;&amp;gt;. This immediately crashes with &lt;br/&gt;
c:\mongo\mongodb-win32-x86_64-2.0.1\bin&amp;gt;mongod.exe --repair --repairpath c:\data\repair&lt;br/&gt;
Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=7752 port=27017 dbpath=/data/db 64-bit host=Sridhar-PC&lt;br/&gt;
Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v2.0.1, pdfile version 4.5&lt;br/&gt;
Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 3a5cf0e2134a830d38d2d1aae7e88cac31bdd684&lt;br/&gt;
Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build info: windows (6, 1, 7601, 2, &apos;Service Pack 1&apos;) BOOST_LIB_VERSION=1_42&lt;br/&gt;
Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: &lt;/p&gt;
{ repair: true, repairpath: &quot;c:\data\repair&quot; }
&lt;p&gt;Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; journal dir=/data/db/journal&lt;br/&gt;
Fri Nov 11 13:28:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; recover : no journal files present, no recovery needed&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ****&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ****&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; need to upgrade database test with pdfile version 4.5, new version: 4.5&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;      starting upgrade&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;  test repairDatabase test&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; removeJournalFiles&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; warning file is not under db path? c:/data/repair/$tmp_repairDatabase_3/test /data/d&lt;br/&gt;
b&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; warning file is not under db path? c:/data/repair/$tmp_repairDatabase_3/test.ns /dat&lt;br/&gt;
a/db&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; warning file is not under db path? c:/data/repair/$tmp_repairDatabase_3/test /data/d&lt;br/&gt;
b&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; warning file is not under db path? c:/data/repair/$tmp_repairDatabase_3/test.0 /data&lt;br/&gt;
/db&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build index test.foo &lt;/p&gt;
{ _id: 1 }
&lt;p&gt;Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build index done 1 records 0.005 secs&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;   Assertion failure _recovering db\dur_recover.cpp 235&lt;br/&gt;
Fri Nov 11 13:28:11 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; dbexception in groupCommit causing immediate shutdown: 0 assertion db\dur_recover.cp&lt;br/&gt;
p:235&lt;br/&gt;
Fri Nov 11 13:28:11 gc1&lt;/p&gt;


&lt;p&gt;Note: If you run mongod --repair --repairpath --nojournal this does not occur&lt;/p&gt;</description>
                <environment>2.0.1 binaries (64 bit) on Windows 7 x64</environment>
        <key id="24821">SERVER-4266</key>
            <summary>Need to support --repairpath outside of --dbpath with journaling on</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="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="sridhar">Sridhar Nanjundeswaran</reporter>
                        <labels>
                            <label>needs-prioritization</label>
                    </labels>
                <created>Fri, 11 Nov 2011 21:34:25 +0000</created>
                <updated>Tue, 6 Dec 2022 05:39:28 +0000</updated>
                            <resolved>Tue, 21 Jun 2016 20:03:46 +0000</resolved>
                                    <version>2.0.1</version>
                                                    <component>Stability</component>
                    <component>Storage</component>
                                        <votes>13</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="1301634" author="asya" created="Tue, 21 Jun 2016 18:22:39 +0000"  >&lt;p&gt;This works without error with 3.2.7 both with WiredTiger and MMAPV1 storage engines.&lt;/p&gt;</comment>
                            <comment id="460079" author="ernie.hershey@10gen.com" created="Thu, 21 Nov 2013 22:13:37 +0000"  >&lt;p&gt;We just hit this today working on MCI data. We&apos;re using the symlink workaround.&lt;/p&gt;

&lt;p&gt;Our use case is exactly that - we&apos;re running low on space, added a new drive to use for the repair, and can&apos;t use it without symlinking into the data directory.  &lt;/p&gt;</comment>
                            <comment id="154761" author="jantje.daniel" created="Mon, 20 Aug 2012 05:20:17 +0000"  >&lt;p&gt;A use case that this bug disallows is when the user is low on disk space and wants to repair, and brings in temporary disk for the repairpath.&lt;/p&gt;</comment>
                            <comment id="83441" author="redbeard0531" created="Mon, 30 Jan 2012 20:16:26 +0000"  >&lt;p&gt;I have reproduced this. It looks like journaling doesn&apos;t work well with files outside of --dbpath, which --repairpath is likely to use. A quick-fix would be to disallow --repairpath when using --journaling. A proper fix would likely take a day or two to get right.&lt;/p&gt;

&lt;p&gt;Edit: to be clear, as a workaround, you can mount (or symlink to) your --repairpath volume in a subdirectory under --dbpath. For example: mongod --dbpath /data/db --repairpath /data/db/_repairPath&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="163883">DOCS-4196</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="12380">SERVER-1379</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000UaR56IAF]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 30 Jan 2012 20:16:26 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 34 weeks, 1 day 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="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>ernie.hershey@mongodb.com</customfieldvalue>
            <customfieldvalue>jantje.daniel</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>sridhar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrolsf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3791</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|hsr4q7:</customfieldvalue>

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