<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:38:57 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-557] Add note on convertToCapped behaviour when collection has data greater than the new capped collection size</title>
                <link>https://jira.mongodb.org/browse/DOCS-557</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Add a note to: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/command/convertToCapped/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/command/convertToCapped/&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The original collection will be followed in $natural order and loaded into a new capped collection.  If you choose a smaller size (in bytes) for the capped collection than the current uncapped collection, documents will be aged out of the collection based on insertion order (First In, First Out).&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="51460">DOCS-557</key>
            <summary>Add note on convertToCapped behaviour when collection has data greater than the new capped collection size</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="stephen.steneker@mongodb.com">Stennie Steneker</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Sep 2012 05:15:59 +0000</created>
                <updated>Mon, 30 Oct 2023 22:01:34 +0000</updated>
                            <resolved>Thu, 4 Oct 2012 15:43:43 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="171853" author="samk" created="Fri, 5 Oct 2012 14:10:48 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                            <comment id="171689" author="auto" created="Thu, 4 Oct 2012 23:49:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-04T12:54:50-07:00&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;}
&lt;p&gt;Message: merge and edits: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-557&quot; title=&quot;Add note on convertToCapped behaviour when collection has data greater than the new capped collection size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-557&quot;&gt;&lt;del&gt;DOCS-557&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/79a000c6e48dabf61017aee703dd5c1dd1e17ba0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/79a000c6e48dabf61017aee703dd5c1dd1e17ba0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="171677" author="auto" created="Thu, 4 Oct 2012 23:49:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T14:00:33-07:00&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;, u&apos;name&apos;: u&apos;kay&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-557&quot; title=&quot;Add note on convertToCapped behaviour when collection has data greater than the new capped collection size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-557&quot;&gt;&lt;del&gt;DOCS-557&lt;/del&gt;&lt;/a&gt; add ref to cloneCollectionAsCapped in convertToCapped&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/eda1aca73321e038285f0cafb4c20ff9d4a13455&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/eda1aca73321e038285f0cafb4c20ff9d4a13455&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170502" author="auto" created="Tue, 2 Oct 2012 18:51:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T11:50:25-07:00&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;}
&lt;p&gt;Message: edits: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-557&quot; title=&quot;Add note on convertToCapped behaviour when collection has data greater than the new capped collection size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-557&quot;&gt;&lt;del&gt;DOCS-557&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/800f31ea9bc9141ba93f37b5093a7b3227af830f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/800f31ea9bc9141ba93f37b5093a7b3227af830f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170501" author="auto" created="Tue, 2 Oct 2012 18:51:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T11:45:48-07:00&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;}
&lt;p&gt;Message: merge: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-557&quot; title=&quot;Add note on convertToCapped behaviour when collection has data greater than the new capped collection size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-557&quot;&gt;&lt;del&gt;DOCS-557&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/415b26cc973a659875a46b47ee6fb9e911c9a23c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/415b26cc973a659875a46b47ee6fb9e911c9a23c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170500" author="auto" created="Tue, 2 Oct 2012 18:51:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T09:17:24-07:00&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;, u&apos;name&apos;: u&apos;kay&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-557&quot; title=&quot;Add note on convertToCapped behaviour when collection has data greater than the new capped collection size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-557&quot;&gt;&lt;del&gt;DOCS-557&lt;/del&gt;&lt;/a&gt; add note to convertToCapped method&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/34bcbc603bae3b5c9ab43c13d97d8901761729a6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/34bcbc603bae3b5c9ab43c13d97d8901761729a6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170499" author="auto" created="Tue, 2 Oct 2012 18:51:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T08:47:19-07:00&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;, u&apos;name&apos;: u&apos;kay&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-557&quot; title=&quot;Add note on convertToCapped behaviour when collection has data greater than the new capped collection size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-557&quot;&gt;&lt;del&gt;DOCS-557&lt;/del&gt;&lt;/a&gt; add note to convertToCapped&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/5c7a37fec4fe27ba306f39fa0a8918cbe91215e5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/5c7a37fec4fe27ba306f39fa0a8918cbe91215e5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="168415" author="stennie" created="Wed, 26 Sep 2012 20:10:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=scotthernandez&quot; class=&quot;user-hover&quot; rel=&quot;scotthernandez&quot;&gt;scotthernandez&lt;/a&gt;: Thanks, updated the description.&lt;/p&gt;</comment>
                            <comment id="168187" author="scotthernandez" created="Wed, 26 Sep 2012 12:53:50 +0000"  >&lt;p&gt;Stephen, it will roll-over if there is more source data than room at the destination. The data &quot;lost&quot; will be whatever is first inserted into the dest, not the &quot;latest&quot; data as you suggest. It is follows $natural order then it will loose the oldest data, not the newest. It really depends on how the source query is specified &amp;#8211; it just walks over the extents from the first doc so {$natural : 1} order.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Sep 2012 12:53:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 19 weeks, 5 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 19 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrsaxb:</customfieldvalue>

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

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

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