<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:59 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-3412] We should truncate journal files to 1GB before recycling for prealloc</title>
                <link>https://jira.mongodb.org/browse/SERVER-3412</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;For an example with a 9GB prealloc file see &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/325f2d2da114e5f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/325f2d2da114e5f2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="19390">SERVER-3412</key>
            <summary>We should truncate journal files to 1GB before recycling for prealloc</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Jul 2011 23:00:12 +0000</created>
                <updated>Tue, 12 Jul 2016 00:17:38 +0000</updated>
                            <resolved>Mon, 1 Aug 2011 23:42:17 +0000</resolved>
                                                    <fixVersion>1.9.2</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="45788" author="auto" created="Mon, 1 Aug 2011 23:39:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Rotation is now an internal detail of the jouurnal code called automatically on every commit &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3412&quot; title=&quot;We should truncate journal files to 1GB before recycling for prealloc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3412&quot;&gt;&lt;del&gt;SERVER-3412&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bf4a31eef08d2671bce2821570558ec33fd4df00&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bf4a31eef08d2671bce2821570558ec33fd4df00&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45787" author="auto" created="Mon, 1 Aug 2011 23:39:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Truncate journal files to 1GB before recycling for prealloc &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3412&quot; title=&quot;We should truncate journal files to 1GB before recycling for prealloc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3412&quot;&gt;&lt;del&gt;SERVER-3412&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b4f185e7de1c9917b6469ecb0709933d1cffd201&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b4f185e7de1c9917b6469ecb0709933d1cffd201&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45785" author="auto" created="Mon, 1 Aug 2011 23:39:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: journalRotate inside groupCommit not durThread &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3412&quot; title=&quot;We should truncate journal files to 1GB before recycling for prealloc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3412&quot;&gt;&lt;del&gt;SERVER-3412&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d3ff333690bff9a52543a7cd9ffb6a3df481c0cd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d3ff333690bff9a52543a7cd9ffb6a3df481c0cd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45784" author="auto" created="Mon, 1 Aug 2011 23:39:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Truncate log files to end of current commit on rotate &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3412&quot; title=&quot;We should truncate journal files to 1GB before recycling for prealloc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3412&quot;&gt;&lt;del&gt;SERVER-3412&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7c2bd1f36f3bb5066bf9f9d7f23eb9b85635e701&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7c2bd1f36f3bb5066bf9f9d7f23eb9b85635e701&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45326" author="redbeard0531" created="Fri, 29 Jul 2011 17:59:20 +0000"  >&lt;p&gt;Going to do the following three things:&lt;/p&gt;

&lt;p&gt;journalRotate() inside of groupCommit()&lt;br/&gt;
truncate file to end of last commit in ~LogFile()&lt;br/&gt;
truncate file to DataLimitPerJouralFile when rotating in removeOldJournalFile&lt;/p&gt;</comment>
                            <comment id="42681" author="eliot" created="Sun, 17 Jul 2011 01:55:19 +0000"  >&lt;p&gt;We should fix that too&lt;/p&gt;</comment>
                            <comment id="42155" author="redbeard0531" created="Wed, 13 Jul 2011 15:34:38 +0000"  >&lt;p&gt;No, only in the durThread loop.&lt;/p&gt;</comment>
                            <comment id="41786" author="dwight_10gen" created="Tue, 12 Jul 2011 01:48:25 +0000"  >&lt;p&gt;we don&apos;t rotate in groupCommit()?&lt;/p&gt;</comment>
                            <comment id="41778" author="redbeard0531" created="Tue, 12 Jul 2011 01:00:10 +0000"  >&lt;p&gt;Actually it looks like we will never rotate during an index build because that only happens in the durThread() loop which needs a dbmutex to progress. Maybe we should move the journalRotate() call to inside of groupCommit().&lt;/p&gt;

&lt;p&gt;Edit: its more general. We never rotate during any large process that uses commitIfNeeded&lt;/p&gt;</comment>
                            <comment id="41776" author="dwight_10gen" created="Tue, 12 Jul 2011 00:42:02 +0000"  >&lt;p&gt;why are the files 9GB?  that is a bug.  let&apos;s fix that first.  missing commitifneeded or something on index build?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 Jul 2011 00:42:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 29 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>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>
                            12 years, 29 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</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|hrovwf:</customfieldvalue>

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

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

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