<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:00:20 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>[DOCS-10339] The dataSize doc page does not mention the existence of &quot;estimate&quot; parameter</title>
                <link>https://jira.mongodb.org/browse/DOCS-10339</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The &lt;tt&gt;dataSize&lt;/tt&gt; doc page mentions that the parameters into the command are the &lt;tt&gt;namespace&lt;/tt&gt;, &lt;tt&gt;keypattern&lt;/tt&gt;, &lt;tt&gt;min&lt;/tt&gt;, and &lt;tt&gt;max&lt;/tt&gt;. However, there is also an &quot;&lt;tt&gt;estimate&lt;/tt&gt;&quot; boolean value parameter for the command that is not mentioned in the docs.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;dataSize&lt;/tt&gt; command determines the total size of a range of documents, specified by its index key. The &lt;tt&gt;estimate&lt;/tt&gt; parameter attempts to provide an estimated size instead, by walking the index and assuming the documents are uniformly sized (based on the average document size in the collection) instead of fetching the documents and calculating their actual size.&lt;/p&gt;

&lt;p&gt;Relevant code for the &lt;tt&gt;estimate&lt;/tt&gt; parameter in MongoDB 3.4: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/v3.4/src/mongo/db/commands/dbcommands.cpp#L859-L863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/v3.4/src/mongo/db/commands/dbcommands.cpp#L859-L863&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Relevant code for what the parameter does in MongoDB 3.4: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/v3.4/src/mongo/db/commands/dbcommands.cpp#L935-L936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/v3.4/src/mongo/db/commands/dbcommands.cpp#L935-L936&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/dataSize/&quot;&gt;https://docs.mongodb.com/manual/reference/command/dataSize/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;https://docs.mongodb.com/v2.2/reference/command/dataSize/&quot;&gt;https://docs.mongodb.com/v2.2/reference/command/dataSize/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1440 x 900&lt;br/&gt;
</environment>
        <key id="389449">DOCS-10339</key>
            <summary>The dataSize doc page does not mention the existence of &quot;estimate&quot; parameter</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13201">Fixed</resolution>
                                        <assignee username="kevin.adistambha@mongodb.com">Kevin Adistambha</assignee>
                                    <reporter username="kevin.adistambha@mongodb.com">Kevin Adistambha</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Fri, 2 Jun 2017 04:27:15 +0000</created>
                <updated>Sun, 29 Oct 2023 13:59:43 +0000</updated>
                            <resolved>Thu, 26 Oct 2017 19:27:09 +0000</resolved>
                                                    <fixVersion>1.7.0</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1710272" author="xgen-internal-githook" created="Thu, 26 Oct 2017 17:20:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;kevinadi@gmail.com&apos;, &apos;name&apos;: &apos;Kevin Adistambha&apos;, &apos;username&apos;: &apos;kevinadi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10339&quot; title=&quot;The dataSize doc page does not mention the existence of &amp;quot;estimate&amp;quot; parameter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10339&quot;&gt;&lt;del&gt;DOCS-10339&lt;/del&gt;&lt;/a&gt; updated dataSize documentation page&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/fc1e40deba6f731a864fe1b1f8c9e93b9b18e417&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/fc1e40deba6f731a864fe1b1f8c9e93b9b18e417&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="12818">SERVER-1545</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 26 Oct 2017 17:20:54 +0000</customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht0hzz:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht81gv:</customfieldvalue>

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