<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04: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-4071] mongod doesn&apos;t detect file system disappearance</title>
                <link>https://jira.mongodb.org/browse/SERVER-4071</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It appears that at least under some versions of Linux, if the file system disappears out from under mongod, the server will continue to operate to some degree, with the consequence that data might get written to the wrong locations and so probably lost later. Probably the server ought to abort in these cases, if it&apos;s possible to detect them.&lt;/p&gt;

&lt;p&gt;Reproduction case:&lt;/p&gt;

&lt;p&gt;&amp;#8211;&lt;br/&gt;
#!/bin/sh                                                                                                                                                                                                                                     &lt;br/&gt;
set -e&lt;br/&gt;
set -u&lt;/p&gt;

&lt;p&gt;p=30000&lt;br/&gt;
d=&quot;`mktemp -d`&quot;&lt;br/&gt;
l=&quot;`mktemp`&quot;&lt;br/&gt;
pf=&quot;`mktemp`&quot;&lt;br/&gt;
u=localhost:$p/test&lt;br/&gt;
c1=&apos;db.c.insert(&lt;/p&gt;
{s:&quot;good&quot;}
&lt;p&gt;); db.c.find().forEach(printjson)&apos;&lt;br/&gt;
c2=&apos;db.c.insert(&lt;/p&gt;
{s:&quot;bad&quot;}
&lt;p&gt;); db.c.find().forEach(printjson)&apos;&lt;/p&gt;

&lt;p&gt;sudo mount -t tmpfs -o size=512M tmpfs &quot;$d&quot;&lt;br/&gt;
trap &quot;(set +e; sudo umount -lf \&quot;$d\&quot;)&quot; 0&lt;br/&gt;
mongod --pidfilepath &quot;$pf&quot; --port $p --logpath &quot;$l&quot; --dbpath &quot;$d&quot; --fork&lt;br/&gt;
trap &quot;(set +e; kill -TERM `cat \&quot;$pf\&quot;`; sudo umount -lf \&quot;$d\&quot;)&quot; 0&lt;br/&gt;
echo &quot;Inserting some data and doing a db.c.find():&quot;&lt;br/&gt;
mongo --quiet --eval &quot;$c1&quot; $u&lt;br/&gt;
echo -n &quot;Unmounting file system under mongod... &quot;&lt;br/&gt;
sudo umount -lf &quot;$d&quot;&lt;br/&gt;
trap &quot;(set +e; kill -TERM `cat \&quot;$pf\&quot;`&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&quot; 0&lt;br/&gt;
echo &quot;done.&quot;&lt;br/&gt;
echo &quot;Testing consequences of another insert:&quot;&lt;br/&gt;
mongo --quiet --eval &quot;$c2&quot; $u&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Uncomment for cleanup.&lt;/li&gt;
	&lt;li&gt;rm -r &quot;$l&quot; &quot;$d&quot;&lt;br/&gt;
&amp;#8211;&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment>Linux (Ubuntu Maverick x86_64).</environment>
        <key id="23640">SERVER-4071</key>
            <summary>mongod doesn&apos;t detect file system disappearance</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="5">Cannot Reproduce</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="richard.kreuter">Richard Kreuter</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Oct 2011 16:05:40 +0000</created>
                <updated>Tue, 6 Dec 2022 05:39:59 +0000</updated>
                            <resolved>Tue, 15 Nov 2016 20:15:58 +0000</resolved>
                                                                    <component>Storage</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1434902" author="milkie" created="Tue, 15 Nov 2016 20:15:58 +0000"  >&lt;p&gt;Can no longer reproduce this issue.&lt;/p&gt;</comment>
                            <comment id="60686" author="richard@10gen.com" created="Sat, 15 Oct 2011 20:44:09 +0000"  >&lt;p&gt;No journaling.  The reproduction case above leaves no files behind.&lt;/p&gt;</comment>
                            <comment id="60626" author="eliot" created="Sat, 15 Oct 2011 04:51:07 +0000"  >&lt;p&gt;Is this with journalling?&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>3.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 15 Oct 2011 04:51:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 13 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>false</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, 13 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>richard.kreuter</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroo3j:</customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0q8f:</customfieldvalue>

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