<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:49:39 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-19052] Remove sizeStorer recalculations at startup with WiredTiger</title>
                <link>https://jira.mongodb.org/browse/SERVER-19052</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the WiredTiger record store is initialized, it scans every collection and recalculates the total record size and count if the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.0.4/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp#L229&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;number of documents is less than 10,000&lt;/a&gt;.  This extra check is not necessary and can very negatively impact startup time.&lt;/p&gt;

&lt;p&gt;The documentation should be updated to reflect that the count and size stats may not be 100% accurate in the face of unclean shutdowns.  It is possible to reset the sizeStorer by running the &lt;a href=&quot;http://docs.mongodb.org/manual/reference/method/db.collection.validate/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;validate command&lt;/a&gt;.&lt;/p&gt;


</description>
                <environment></environment>
        <key id="211844">SERVER-19052</key>
            <summary>Remove sizeStorer recalculations at startup with WiredTiger</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="dan@mongodb.com">Daniel Pasette</assignee>
                                    <reporter username="dan@mongodb.com">Daniel Pasette</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Jun 2015 15:00:48 +0000</created>
                <updated>Tue, 17 Jan 2017 17:28:54 +0000</updated>
                            <resolved>Fri, 19 Jun 2015 22:32:52 +0000</resolved>
                                    <version>3.0.0</version>
                                    <fixVersion>3.0.5</fixVersion>
                    <fixVersion>3.1.5</fixVersion>
                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="972917" author="xgen-internal-githook" created="Wed, 22 Jul 2015 22:02:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; use itcount() instead of count() in master/slave tests&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/324fce90a53403a2559af5de3c6a22a1b6304877&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/324fce90a53403a2559af5de3c6a22a1b6304877&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="972916" author="xgen-internal-githook" created="Wed, 22 Jul 2015 22:02:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; warm the cache before perf test&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f6c529d817ad98fe64854cbd8771b0b097cd985d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f6c529d817ad98fe64854cbd8771b0b097cd985d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="972708" author="xgen-internal-githook" created="Wed, 22 Jul 2015 19:06:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; fix compile&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/03baf82ed2068d3d03d399443867fd446068dcd8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/03baf82ed2068d3d03d399443867fd446068dcd8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="972585" author="xgen-internal-githook" created="Wed, 22 Jul 2015 17:32:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; use itcount() instead of count() in repl tests&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1e786585ae83e55e13016a6761a121b502c887f8)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e46b0bd8b8d96d48b712234c8cc5c2a998494d50&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e46b0bd8b8d96d48b712234c8cc5c2a998494d50&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="972584" author="xgen-internal-githook" created="Wed, 22 Jul 2015 17:32:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; cleanup unreachable if statement from removal of sizeStorer calcs&lt;/p&gt;

&lt;p&gt;(Manual backport of 586a9787b792036cd33684faee82969c5dcf5e50)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/64b4fff5e0e1aa7cca7555864bfe0cac01cc76a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/64b4fff5e0e1aa7cca7555864bfe0cac01cc76a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="972583" author="xgen-internal-githook" created="Wed, 22 Jul 2015 17:32:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; Remove sizeStorer recalculations at startup with WiredTiger&lt;/p&gt;

&lt;p&gt;(Manual backport of 299b2c1d833c6ca537e300b5bc49384a7a81e5cd)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e86cec60a08b188fb55a5eb6f56517366ce3e16b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e86cec60a08b188fb55a5eb6f56517366ce3e16b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="949441" author="xgen-internal-githook" created="Wed, 24 Jun 2015 16:55:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;martinbligh&apos;, u&apos;name&apos;: u&apos;Martin Bligh&apos;, u&apos;email&apos;: u&apos;mbligh@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; cleanup unreachable if statement from removal of sizeStorer calcs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/586a9787b792036cd33684faee82969c5dcf5e50&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/586a9787b792036cd33684faee82969c5dcf5e50&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="946871" author="xgen-internal-githook" created="Mon, 22 Jun 2015 13:57:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; use itcount() instead of count() in repl tests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1e786585ae83e55e13016a6761a121b502c887f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1e786585ae83e55e13016a6761a121b502c887f8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="946147" author="dan@10gen.com" created="Fri, 19 Jun 2015 22:32:52 +0000"  >&lt;p&gt;Linked docs ticket: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-5682&quot; title=&quot;Document that the size and count in collection stats is not guaranteed to be 100% accurate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-5682&quot;&gt;&lt;del&gt;DOCS-5682&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="946135" author="xgen-internal-githook" created="Fri, 19 Jun 2015 22:18:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19052&quot; title=&quot;Remove sizeStorer recalculations at startup with WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19052&quot;&gt;&lt;del&gt;SERVER-19052&lt;/del&gt;&lt;/a&gt; Remove sizeStorer recalculations at startup with WiredTiger&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/299b2c1d833c6ca537e300b5bc49384a7a81e5cd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/299b2c1d833c6ca537e300b5bc49384a7a81e5cd&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="211982">DOCS-5682</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="209372">SERVER-18887</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="217373">SERVER-19472</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="346334">SERVER-27706</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="15441">3.0.5</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 19 Jun 2015 22:18:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 30 weeks 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-121</customfieldvalue>
                        </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>benety.goh@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 30 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrj9vj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsagaf:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="536">Quint Iteration 5</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|hrl0b3:</customfieldvalue>

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