<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:32:54 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-54201] Support collections clustered by _id in SBE</title>
                <link>https://jira.mongodb.org/browse/SERVER-54201</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;With clustered indexes, calling&#160;&lt;tt&gt;RecordId::asLong()&lt;/tt&gt; on a &lt;tt&gt;RecordId&lt;/tt&gt; that has the &lt;tt&gt;String&lt;/tt&gt; underlying type will trigger an invariant.&lt;/p&gt;

&lt;p&gt;I&apos;ve compiled a list of these calls located in SBE code.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;src/mongo/db/exec/sbe/stages/ix_scan.cpp
	&lt;ul&gt;
		&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/exec/sbe/stages/ix_scan.cpp#L293-L294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/exec/sbe/stages/ix_scan.cpp#L293-L294&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;src/mongo/db/exec/sbe/stages/scan.cpp
	&lt;ul&gt;
		&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/exec/sbe/stages/scan.cpp#L236-L237&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/exec/sbe/stages/scan.cpp#L236-L237&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/exec/sbe/stages/scan.cpp#L565-L566&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/exec/sbe/stages/scan.cpp#L565-L566&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;src/mongo/db/query/sbe_stage_builder_coll_scan.cpp
	&lt;ul&gt;
		&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/query/sbe_stage_builder_coll_scan.cpp#L189&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/query/sbe_stage_builder_coll_scan.cpp#L189&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/query/sbe_stage_builder_coll_scan.cpp#L312&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/query/sbe_stage_builder_coll_scan.cpp#L312&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/query/sbe_stage_builder_coll_scan.cpp#L464&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/275bc8977cfd8845cb4773d639504698cd99de90/src/mongo/db/query/sbe_stage_builder_coll_scan.cpp#L464&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1608927">SERVER-54201</key>
            <summary>Support collections clustered by _id in SBE</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="gregory.wlodarek@mongodb.com">Gregory Wlodarek</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Feb 2021 14:33:54 +0000</created>
                <updated>Mon, 5 Dec 2022 17:07:36 +0000</updated>
                                                                            <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4970803" author="JIRAUSER1257467" created="Thu, 10 Nov 2022 16:00:25 +0000"  >&lt;p&gt;As part of the TS perf work PM-3050, the team also implemented the missing piece for PM-2556: Support clustered collections in multiplanner for all collections - So we are closing PM-2556 and sending this SERVER ticket back to the Triage queue&lt;/p&gt;</comment>
                            <comment id="4377875" author="JIRAUSER1264120" created="Fri, 25 Feb 2022 19:22:57 +0000"  >&lt;p&gt;(Product met to discuss) Clustered indexes will be enabled in 5.3.&#160; &#160;We will be supporting this on-by-default overall in the future.&#160; Please let us know if there are any outstanding questions for product.&lt;/p&gt;</comment>
                            <comment id="4035261" author="louis.williams" created="Wed, 1 Sep 2021 21:14:05 +0000"  >&lt;p&gt;I think this ticket is also implicitly capturing the work done by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54008&quot; title=&quot;Generalize CollectionScan node so it can perform bounded scans over time series bucket collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54008&quot;&gt;&lt;del&gt;SERVER-54008&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54398&quot; title=&quot;Extend query planner to generate bounded collection scan plans for time series collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54398&quot;&gt;&lt;del&gt;SERVER-54398&lt;/del&gt;&lt;/a&gt; to generalize the &quot;oplog hack&quot; stage for any clustered collection. Specifically: translate predicates over ranges of the cluster key into ranged scans over the clustered collection. If not, we should also open a separate ticket to complete that work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1888269">SERVER-60405</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Mar 2021 21:35:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 12 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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 12 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ana.meza@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-execution</customfieldvalue>
            <customfieldvalue>gregory.wlodarek@mongodb.com</customfieldvalue>
            <customfieldvalue>joe.sack@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hysq2n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr28xz:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4553">Execution Team 2021-02-22</customfieldvalue>

                        </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|hyscbr:</customfieldvalue>

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