<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:40:42 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-1298] Comment on: &quot;manual/core/object-id.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-1298</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;the documentation says:&lt;/p&gt;

&lt;p&gt;Sorting on an _id field that stores ObjectId values is equivalent to sorting by creation time.&lt;/p&gt;

&lt;p&gt;that does not seem to be the case, e.g. I have the following keys (in insertion order), when sorted by _id, they do not reflect insertion time:&lt;/p&gt;

&lt;p&gt; _id                        insertion_time.to_i&lt;br/&gt;
&quot;50999c8c91e3783e0e000001&quot;, 1352244364&lt;br/&gt;
&quot;50999c8c91e3783e0e000002&quot;, 1352244364&lt;br/&gt;
&quot;50999c8c91e3783df4000001&quot;, 1352244364   &amp;lt;-- _id not larger than pervious _id&lt;br/&gt;
&quot;50999c8c91e3783e08000001&quot;, 1352244364&lt;br/&gt;
&quot;50999c8c91e3783e08000002&quot;, 1352244364&lt;br/&gt;
&quot;50999c8c91e3783e50000001&quot;, 1352244364&lt;br/&gt;
&quot;50999c8d91e3783e0e000003&quot;, 1352244365&lt;br/&gt;
&quot;50999c8d91e3783e0e000004&quot;, 1352244365&lt;br/&gt;
&quot;50999c8d91e3783e21000001&quot;, 1352244365&lt;br/&gt;
&quot;50999c8d91e3783e21000002&quot;, 1352244365&lt;/p&gt;


&lt;p&gt;&lt;b&gt;Reporter&lt;/b&gt;: Tilo S&lt;/p&gt;</description>
                <environment>MongoDB 2.2&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://docs.mongodb.org/manual/core/object-id/&quot;&gt;http://docs.mongodb.org/manual/core/object-id/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17&lt;br/&gt;
*Referrer*: &lt;a href=&quot;http://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CDYQFjAA&amp;url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Fcore%2Fobject-id&amp;ei=lpBQUfPPK8mziwKhuICICw&amp;usg=AFQjCNH2qKto2l0j7fwuzWX2-f9J-i54qg&amp;sig2=WCgs5Jli4zcxuA0WD8xBMg&amp;bvm=bv.44158598,d.cGE&quot;&gt;http://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CDYQFjAA&amp;amp;url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Fcore%2Fobject-id&amp;amp;ei=lpBQUfPPK8mziwKhuICICw&amp;amp;usg=AFQjCNH2qKto2l0j7fwuzWX2-f9J-i54qg&amp;amp;sig2=WCgs5Jli4zcxuA0WD8xBMg&amp;amp;bvm=bv.44158598,d.cGE&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1680 x 1050&lt;br/&gt;
*repo*: docs&lt;br/&gt;
*source*: core/object-id&lt;br/&gt;
</environment>
        <key id="69668">DOCS-1298</key>
            <summary>Comment on: &quot;manual/core/object-id.txt&quot;</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="tilo2">Tilo S</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Mon, 25 Mar 2013 18:19:13 +0000</created>
                <updated>Mon, 1 Apr 2013 16:37:23 +0000</updated>
                            <resolved>Fri, 29 Mar 2013 14:10:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="303363" author="auto" created="Mon, 1 Apr 2013 16:37:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-01T15:14:47Z&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1298&quot; title=&quot;Comment on: &amp;quot;manual/core/object-id.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1298&quot;&gt;&lt;del&gt;DOCS-1298&lt;/del&gt;&lt;/a&gt;: objectid sorting&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/d93be82c82e1d26d250ae76ba852154fce2171b9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/d93be82c82e1d26d250ae76ba852154fce2171b9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="303362" author="auto" created="Mon, 1 Apr 2013 16:37:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-01T15:14:47Z&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1298&quot; title=&quot;Comment on: &amp;quot;manual/core/object-id.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1298&quot;&gt;&lt;del&gt;DOCS-1298&lt;/del&gt;&lt;/a&gt;: objectid sorting&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	source/core/object-id.txt&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/19aa6b26bde114279db6a897d100c6a57c906fcd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/19aa6b26bde114279db6a897d100c6a57c906fcd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="301682" author="tilo" created="Fri, 29 Mar 2013 17:20:13 +0000"  >
&lt;p&gt;Hi Sam,&lt;/p&gt;

&lt;p&gt;I see the jira ticket is now closed, but that sentence is still in the documentation:&lt;/p&gt;

&lt;p&gt;       Sorting on an _id field that stores ObjectId values is equivalent to sorting by creation time.&lt;/p&gt;

&lt;p&gt;this is factually incorrect, and needs to be clarified&lt;/p&gt;

&lt;p&gt;regards&lt;br/&gt;
     Tilo&lt;/p&gt;


</comment>
                            <comment id="301544" author="auto" created="Fri, 29 Mar 2013 14:09:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-28T14:18:20Z&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1298&quot; title=&quot;Comment on: &amp;quot;manual/core/object-id.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1298&quot;&gt;&lt;del&gt;DOCS-1298&lt;/del&gt;&lt;/a&gt; objectid timestamps have second-level resolution&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/05cde03d756fefbf1deb54152d3d1be89b8a5d82&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/05cde03d756fefbf1deb54152d3d1be89b8a5d82&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="300358" author="tilo" created="Thu, 28 Mar 2013 00:31:52 +0000"  >&lt;p&gt;I just realized that what I&apos;m seeing might be due to the fact that the finest granularity of MongoDB&apos;s _id&apos;s might be just 1 second &amp;#8211; can you verify this? &amp;#8211; if that&apos;s the case, there should be at least a big disclaimer in the documentation.&lt;/p&gt;

&lt;p&gt;This was mentioned in this talk: &lt;a href=&quot;http://www.10gen.com/presentations/mongosv-2011/mongodb-as-a-message-queue&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.10gen.com/presentations/mongosv-2011/mongodb-as-a-message-queue&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If that&apos;s true, this means that if you add lots of records within the same second, it can happen that when you look at the records in insertion order, that the _id is not continuously growing - e.g. _id is not always sorted by real creation time&lt;/p&gt;

&lt;p&gt;If this is true, one should use an inserted_at timestamp for sorting, rather than the _id&lt;/p&gt;
</comment>
                            <comment id="300073" author="kay.kim@10gen.com" created="Wed, 27 Mar 2013 18:27:34 +0000"  >&lt;p&gt;Hi Tilo &amp;#8211; Updated.  Regards.  Kay&lt;/p&gt;</comment>
                            <comment id="300068" author="tilo2" created="Wed, 27 Mar 2013 18:23:09 +0000"  >&lt;p&gt;Kay, can you please modify JIRA for this Bug, so it correctly associates this bug with my account, instead of showing my full name and email address? thank you! Email addresses should never be visible when not logged in&lt;/p&gt;</comment>
                            <comment id="300057" author="tilo" created="Wed, 27 Mar 2013 18:16:27 +0000"  >&lt;p&gt;this happened on a non-sharded replicaset&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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 27 Mar 2013 18:16:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 46 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>
                            10 years, 46 weeks, 2 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>tilo</customfieldvalue>
            <customfieldvalue>tilo2</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrrz9r:</customfieldvalue>

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

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

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