<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:49:22 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-5003] mongoexport --forceTableScan description can be misleading</title>
                <link>https://jira.mongodb.org/browse/DOCS-5003</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;RE: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/program/mongoexport/#cmdoption--forceTableScan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/program/mongoexport/#cmdoption--forceTableScan&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;br/&gt;
When you run with --forceTableScan, mongoexport does not use $snapshot. As a result, the export produced by mongoexport can reflect the state of the database at many different points in time.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The above statement gives the impression that when you use &lt;tt&gt;mongoexport&lt;/tt&gt; normally (&lt;em&gt;without&lt;/em&gt; &lt;tt&gt;&amp;#45;&amp;#45;forceTableScan&lt;/tt&gt;) it would reflect a single point in time. Which is not true.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;mongoexport&lt;/tt&gt; &lt;b&gt;never&lt;/b&gt; reflects a single point in time (unless you stop writes to the database prior to running it), regardless of the use or non-use of &lt;tt&gt;&amp;#45;&amp;#45;forceTableScan&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&amp;#45;&amp;#45;forceTableScan&lt;/tt&gt; &lt;em&gt;might&lt;/em&gt; cause the output to include the same document twice (representing two variants in time) but it does not affect the chances of the output representing a sheared cross-section in time - resulting in a copy of the database which never actually existed.&lt;/p&gt;

&lt;p&gt;The only reason that &lt;tt&gt;$snapshot&lt;/tt&gt; (i.e &lt;em&gt;not&lt;/em&gt; using &lt;tt&gt;&amp;#45;&amp;#45;forceTableScan&lt;/tt&gt;) avoids duplicates in the output is because it walks the unique immutable &lt;tt&gt;&amp;#95;id&lt;/tt&gt; index which cannot possibly result in seeing the same document twice - this is unrelated to a point-in-time though (&lt;tt&gt;$snapshot&lt;/tt&gt; is a misleading name but we&apos;re stuck with it).&lt;/p&gt;</description>
                <environment></environment>
        <key id="189463">DOCS-5003</key>
            <summary>mongoexport --forceTableScan description can be misleading</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="-1">Unassigned</assignee>
                                    <reporter username="andrew.ryder@mongodb.com">Andrew Ryder</reporter>
                        <labels>
                            <label>tools</label>
                    </labels>
                <created>Fri, 13 Mar 2015 18:37:09 +0000</created>
                <updated>Wed, 11 Jan 2017 22:35:29 +0000</updated>
                            <resolved>Mon, 13 Jul 2015 19:15:37 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="964828" author="xgen-internal-githook" created="Mon, 13 Jul 2015 19:15:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kay-kim&apos;, u&apos;name&apos;: u&apos;kay&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-5003&quot; title=&quot;mongoexport --forceTableScan description can be misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-5003&quot;&gt;&lt;del&gt;DOCS-5003&lt;/del&gt;&lt;/a&gt; clarify forceTableScan for mongoexport&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/9841d1bd6c59ebcc0cdacd4942dd3d554a562953&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/9841d1bd6c59ebcc0cdacd4942dd3d554a562953&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="964827" author="xgen-internal-githook" created="Mon, 13 Jul 2015 19:14:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kay-kim&apos;, u&apos;name&apos;: u&apos;kay&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-5003&quot; title=&quot;mongoexport --forceTableScan description can be misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-5003&quot;&gt;&lt;del&gt;DOCS-5003&lt;/del&gt;&lt;/a&gt; clarify forceTableScan for mongoexport&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/7c9d0498cd56d114b1cc410ed66483661ab30d1e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/7c9d0498cd56d114b1cc410ed66483661ab30d1e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="964826" author="xgen-internal-githook" created="Mon, 13 Jul 2015 19:14:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kay-kim&apos;, u&apos;name&apos;: u&apos;kay&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-5003&quot; title=&quot;mongoexport --forceTableScan description can be misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-5003&quot;&gt;&lt;del&gt;DOCS-5003&lt;/del&gt;&lt;/a&gt; clarify forceTableScan for mongoexport&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/d0a0d802542bee1eba5e31213eae04e8907c9947&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/d0a0d802542bee1eba5e31213eae04e8907c9947&lt;/a&gt;&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_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 8 Jul 2015 03:46:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 31 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 31 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.ryder@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|hrqh5r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs742v:</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|hrz7en:</customfieldvalue>

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