<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:12:27 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-6701] TTL expiration using _id index</title>
                <link>https://jira.mongodb.org/browse/SERVER-6701</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Since the default ObjectIds contain a timestamp, it would be nice if the _id index could also be used as a TTL index.   Ideally the user would just attach an &lt;/p&gt;
{expireAfterSeconds : x}
&lt;p&gt; option to their existing _id index, and the TTL monitor would be smart enough to delete old documents based on the timestamp embedded in the ObjectIds.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="46147">SERVER-6701</key>
            <summary>TTL expiration using _id index</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="matulef">Kevin Matulef</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Aug 2012 07:40:16 +0000</created>
                <updated>Wed, 7 Dec 2022 08:21:22 +0000</updated>
                            <resolved>Wed, 5 Jun 2013 03:50:48 +0000</resolved>
                                    <version>2.1.2</version>
                                                    <component>Index Maintenance</component>
                    <component>Storage</component>
                    <component>Usability</component>
                                        <votes>6</votes>
                                    <watches>16</watches>
                                                                                                                <comments>
                            <comment id="5036237" author="dwayne@dwaynebull.co.uk" created="Wed, 7 Dec 2022 08:21:22 +0000"  >&lt;p&gt;I found this after looking into Clustered Collections and their ability to expire on the _id field, this would be really helpful if it could use ObjectId. I looked at the duplicate ticket and it doesnt seem to mention ObjectIds so I wasn&apos;t sure if this was still an option.&lt;/p&gt;</comment>
                            <comment id="1216738" author="dan@10gen.com" created="Mon, 28 Mar 2016 15:04:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jason.coombs%40yougov.com&quot; class=&quot;user-hover&quot; rel=&quot;jason.coombs@yougov.com&quot;&gt;jason.coombs@yougov.com&lt;/a&gt;, I don&apos;t think the linked ticket capture the idea of using ObjectID&apos;s for TTL.  I thought that there might already be a ticket for this, but I couldn&apos;t find one.&lt;/p&gt;</comment>
                            <comment id="1216696" author="jason.coombs@yougov.com" created="Mon, 28 Mar 2016 14:43:55 +0000"  >&lt;p&gt;Does the duplicate ticket effectively capture the aspect that timestamps for ObjectIds be recognized by TTL indexes for the purpose of expiration, or should that be a separate ticket?&lt;/p&gt;</comment>
                            <comment id="928314" author="leonn" created="Sun, 31 May 2015 21:56:55 +0000"  >&lt;p&gt;+1 , If you need to have very fast writes in a scenario with a big load of data, this would be the best.&lt;/p&gt;</comment>
                            <comment id="443611" author="ryanwitt" created="Mon, 21 Oct 2013 00:50:19 +0000"  >&lt;p&gt;+1&lt;/p&gt;</comment>
                            <comment id="353249" author="eliot" created="Wed, 5 Jun 2013 03:50:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9305&quot; title=&quot;Enabling adding expireAfterSeconds to convert to a TTL index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9305&quot;&gt;&lt;del&gt;SERVER-9305&lt;/del&gt;&lt;/a&gt; is a more general solution that also solves this&lt;/p&gt;</comment>
                            <comment id="276976" author="andy222" created="Wed, 27 Feb 2013 10:43:35 +0000"  >&lt;p&gt;+1. Ideally, one should be able to set &quot;expireAfterSeconds&quot; on each index to a field that holds ObjectId, timestamp or Date values.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="10397">SERVER-211</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71264">SERVER-9305</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="46146">SERVER-6700</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 3 Aug 2012 12:31:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 9 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_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>dwayne@dwaynebull.co.uk</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 9 weeks 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>andy222</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>dwayne@dwaynebull.co.uk</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jason.coombs@yougov.com</customfieldvalue>
            <customfieldvalue>matulef</customfieldvalue>
            <customfieldvalue>leonn</customfieldvalue>
            <customfieldvalue>ryanwitt</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnspr:</customfieldvalue>

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

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

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