<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:37:24 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-78080] Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id</title>
                <link>https://jira.mongodb.org/browse/SERVER-78080</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The current implementation for time series bucket _id generation follows this process:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Generate an OID.&lt;/li&gt;
	&lt;li&gt;Replace the 4 high-order timestamp bytes of the OID with a rounded version of the user-specified timestamp from the first measurement that lands in the bucket.&lt;/li&gt;
	&lt;li&gt;Add the difference between the original timestamp and the rounded version to the next five bytes of the OID (the cluster-unique bytes).&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;This process was devised originally to deal with coarse granularity in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61194&quot; title=&quot;Prevent time-series bucket OID reuse with coarse granularity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61194&quot;&gt;&lt;del&gt;SERVER-61194&lt;/del&gt;&lt;/a&gt;, but is still susceptible to collisions when many buckets are opened using the exact same initial timestamp.&lt;/p&gt;

&lt;p&gt;In order to further reduce the chances of collisions in these cases, we should simply generate the OID from scratch by filling in the 4 high-order with the rounded timestamp as we currently do, then fill in the remaining 8 low-order bytes with a randomly generated number.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2368028">SERVER-78080</key>
            <summary>Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id</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="13201">Fixed</resolution>
                                        <assignee username="dan.larkin-york@mongodb.com">Dan Larkin-York</assignee>
                                    <reporter username="dan.larkin-york@mongodb.com">Dan Larkin-York</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Jun 2023 14:29:56 +0000</created>
                <updated>Sun, 29 Oct 2023 21:20:04 +0000</updated>
                            <resolved>Thu, 15 Jun 2023 19:09:15 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                    <fixVersion>6.3.2</fixVersion>
                    <fixVersion>6.0.7</fixVersion>
                    <fixVersion>5.0.19</fixVersion>
                    <fixVersion>7.0.0-rc5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5518754" author="xgen-internal-githook" created="Thu, 22 Jun 2023 16:13:54 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 26a4bfd5bd61665498a6d17e69e861233e1d2d16)&lt;br/&gt;
Branch: v6.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6480c400db55bab75b8ce0f05125895a885b038a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6480c400db55bab75b8ce0f05125895a885b038a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5514009" author="xgen-internal-githook" created="Tue, 20 Jun 2023 22:28:08 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Make randomized_mixed_type_bug.js test more robust&lt;/p&gt;

&lt;p&gt;(cherry picked from commit baff036b89dd909609139a6771ae1c8248593687)&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d65a83d105d441c7a03f3c01d58028ac74dab069&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d65a83d105d441c7a03f3c01d58028ac74dab069&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5513487" author="xgen-internal-githook" created="Tue, 20 Jun 2023 19:07:53 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Make randomized_mixed_type_bug.js test more robust&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/baff036b89dd909609139a6771ae1c8248593687&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/baff036b89dd909609139a6771ae1c8248593687&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5506157" author="xgen-internal-githook" created="Fri, 16 Jun 2023 18:40:44 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 26a4bfd5bd61665498a6d17e69e861233e1d2d16)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6b2b5dda7ee3ccde1a285c7168e573e44b0c4056&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6b2b5dda7ee3ccde1a285c7168e573e44b0c4056&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5504651" author="xgen-internal-githook" created="Fri, 16 Jun 2023 12:20:46 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 26a4bfd5bd61665498a6d17e69e861233e1d2d16)&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ae6a2a8aa4dbf8682e601f25cdf0ff113d897750&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ae6a2a8aa4dbf8682e601f25cdf0ff113d897750&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5504538" author="xgen-internal-githook" created="Fri, 16 Jun 2023 11:58:01 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 26a4bfd5bd61665498a6d17e69e861233e1d2d16)&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5b37e99faa6253957d7d28f25a381ea239bfe376&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5b37e99faa6253957d7d28f25a381ea239bfe376&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5502414" author="xgen-internal-githook" created="Thu, 15 Jun 2023 17:14:51 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dan Larkin-York&apos;, &apos;email&apos;: &apos;dan.larkin-york@mongodb.com&apos;, &apos;username&apos;: &apos;dhly-etc&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78080&quot; title=&quot;Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78080&quot;&gt;&lt;del&gt;SERVER-78080&lt;/del&gt;&lt;/a&gt; Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/26a4bfd5bd61665498a6d17e69e861233e1d2d16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/26a4bfd5bd61665498a6d17e69e861233e1d2d16&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2378294">SERVER-78475</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2402107">SERVER-79397</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25578"><![CDATA[v7.0]]></customfieldvalue>
    <customfieldvalue key="25376"><![CDATA[v6.3]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001tu9BsQAI]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Jun 2023 21:37:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        32 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>
                            32 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>124.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan.larkin-york@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|i2du3j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1w1d4:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7179">Execution NAMR Team 2023-06-26</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_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|i2dg8v:</customfieldvalue>

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