<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:04 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-2129] Database file timestamp is never updated...</title>
                <link>https://jira.mongodb.org/browse/SERVER-2129</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The timestamp of the database file never changes, even if writes are done to the DB, and even if the DB server is stopped and restarted.&lt;/p&gt;

&lt;p&gt;This is a problem because it appears that the file has not changed, so utilities like rsync are fooled into not backing up the file.&lt;/p&gt;

&lt;p&gt;Problem occurs on:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Linux Fedora Core 8, running on AWS EC2 32-bit server.&lt;/li&gt;
	&lt;li&gt;Linux Fedora 13, running on AWS EC2 64-bit server.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Works fine (timestamp IS updated) on Mac OS X 10.6.5 (Snow Leopard)&lt;/p&gt;

&lt;p&gt;--Fred Stluka&lt;/p&gt;</description>
                <environment>Linux Fedora Core 8, running on AWS EC2 32-bit server.&lt;br/&gt;
Also, Linux Fedora 13, running on AWS EC2 64-bit server.&lt;br/&gt;
</environment>
        <key id="13765">SERVER-2129</key>
            <summary>Database file timestamp is never updated...</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="fredstluka">Fred Stluka</reporter>
                        <labels>
                    </labels>
                <created>Sun, 21 Nov 2010 21:56:25 +0000</created>
                <updated>Mon, 29 Aug 2011 15:56:46 +0000</updated>
                            <resolved>Mon, 4 Apr 2011 19:26:02 +0000</resolved>
                                    <version>1.6.1</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="28575" author="redbeard0531" created="Mon, 11 Apr 2011 03:59:00 +0000"  >&lt;p&gt;I know it is fixed as of 2.6.32 at the very latest. If needed I can see if we have any boxes with older kernels to test on.&lt;/p&gt;</comment>
                            <comment id="28504" author="fredstluka" created="Sat, 9 Apr 2011 19:54:48 +0000"  >&lt;p&gt;Eliot,&lt;/p&gt;

&lt;p&gt;I was asking what Linux kernel versions it is fixed in, since Mathias said it &lt;br/&gt;
is &quot;Fixed in new kernels&quot;, not what MongoDB version.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
--Fred&lt;/p&gt;</comment>
                            <comment id="27762" author="fredstluka" created="Mon, 4 Apr 2011 22:05:38 +0000"  >&lt;p&gt;Mathias,&lt;/p&gt;

&lt;p&gt;Do you know what kernel versions it is fixed in?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
--Fred&lt;/p&gt;</comment>
                            <comment id="27729" author="redbeard0531" created="Mon, 4 Apr 2011 19:26:02 +0000"  >&lt;p&gt;Linux kernel bug. Fixed in newer kernels.&lt;/p&gt;</comment>
                            <comment id="20607" author="fredstluka" created="Tue, 23 Nov 2010 01:27:13 +0000"  >&lt;p&gt;Mathias,&lt;/p&gt;

&lt;p&gt;Thanks for the suggestion.  I suspect rsync would run much slower with --checksum, and I&apos;m backing up a large directory tree with relatively few modified files, so I need the speed.&lt;/p&gt;

&lt;p&gt;My current workaround is to &quot;touch&quot; each MongoDB file before the rsync, since I know that the DB files are going to change every day anyhow.   Then they DO get backed up.&lt;/p&gt;

&lt;p&gt;Let me know what you find...&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
--Fred&lt;/p&gt;</comment>
                            <comment id="20591" author="redbeard0531" created="Mon, 22 Nov 2010 17:55:41 +0000"  >&lt;p&gt;For now you can force rsync to ignore the modified date by using the --checksum option. I&apos;m looking into why the modified date isn&apos;t getting updated.&lt;/p&gt;</comment>
                            <comment id="20579" author="fredstluka" created="Mon, 22 Nov 2010 12:33:46 +0000"  >&lt;p&gt;Eliot,&lt;/p&gt;

&lt;p&gt;Great!  So the problem is reproducible.  That&apos;s a good first step towards resolving it.  Let me know if there&apos;s anything else I can do to help.&lt;/p&gt;

&lt;p&gt;--Fred&lt;/p&gt;</comment>
                            <comment id="20572" author="eliot" created="Mon, 22 Nov 2010 04:58:43 +0000"  >&lt;p&gt;ubuntu 10.4 ext4 - DID change&lt;br/&gt;
fedora 8 ext3 - did NOT change&lt;/p&gt;</comment>
                            <comment id="20569" author="fredstluka" created="Mon, 22 Nov 2010 04:00:07 +0000"  >&lt;p&gt;Eliot,&lt;/p&gt;

&lt;p&gt;Not sure how to interpret your last comment.&lt;/p&gt;

&lt;p&gt;The mod time DID change on Ubuntu 10.4 ext4, right?&lt;br/&gt;
Did it change or not on Fedora 8 ext3?&lt;/p&gt;

&lt;p&gt;--Fred&lt;/p&gt;</comment>
                            <comment id="20567" author="eliot" created="Mon, 22 Nov 2010 02:15:42 +0000"  >&lt;p&gt;Quick test&lt;/p&gt;

&lt;p&gt;Ubuntu 10.04 ext4 - file mod time update&lt;br/&gt;
Fedora 8 ext3&lt;/p&gt;

&lt;p&gt;Not entirely sure where to go from here...&lt;/p&gt;

&lt;p&gt;We&apos;re certainly not changing anything.&lt;/p&gt;</comment>
                            <comment id="20566" author="fredstluka" created="Mon, 22 Nov 2010 01:16:32 +0000"  >&lt;p&gt;Eliot,&lt;/p&gt;

&lt;p&gt;Here are the relevant /etc/fstab lines on both servers where I see this problem:&lt;/p&gt;

&lt;p&gt;/dev/sdf                                /ebs                    ext3    defaults 0 0&lt;/p&gt;

&lt;p&gt;/dev/sdf                                /ebs                    ext3    defaults,acl 0 0&lt;/p&gt;

&lt;p&gt;I only have the 2 servers, and the problem occurs on both.  In both cases, the /ebs drive is mounted on a device that is an Amazon EBS drive backed by Amazon S3 storage.&lt;/p&gt;

&lt;p&gt;I&apos;m setting up a new server soon that will also use Amazon EBS backed by S3, but will use the ext4 filesystem.  No other relevant differences, I think.&lt;/p&gt;

&lt;p&gt;We also use MongoDB on our Mac laptops, and the dates are updated there as expected.&lt;/p&gt;

&lt;p&gt;What systems do you have for development and testing?  Does this perhaps happen with all Linux systems?  I&apos;ve used lots of Linux systems, but MongoDB may be the first app I&apos;ve used that does memory mapped I/O, so I don&apos;t know whether this is standard behavior for memory mapped files on Linux.&lt;/p&gt;

&lt;p&gt;--Fred&lt;/p&gt;</comment>
                            <comment id="20561" author="eliot" created="Mon, 22 Nov 2010 01:03:35 +0000"  >&lt;p&gt;Usually but i&apos;ve seen weird things.&lt;/p&gt;

&lt;p&gt;Can you send the fstab entry?&lt;/p&gt;

&lt;p&gt;We don&apos;t do anything special in the code for this, so its something at file system/os layer.&lt;/p&gt;</comment>
                            <comment id="20560" author="fredstluka" created="Mon, 22 Nov 2010 00:58:42 +0000"  >&lt;p&gt;No.  /etc/fstab does NOT specify noatime.&lt;/p&gt;

&lt;p&gt;Even if it did, doesn&apos;t that have to do only with reads of the file, not writes?  Even if it were set, the timestamp would be updated when the file was written.  True?&lt;/p&gt;

&lt;p&gt;--Fred Stluka&lt;/p&gt;</comment>
                            <comment id="20554" author="eliot" created="Mon, 22 Nov 2010 00:13:44 +0000"  >&lt;p&gt;This is likely a system configuration.&lt;/p&gt;

&lt;p&gt;Do you have noatime set in fstab?&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>14.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Nov 2010 00:13:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 45 weeks, 2 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 45 weeks, 2 days 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>fredstluka</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpb2f:</customfieldvalue>

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

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

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