<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:50:22 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-60649] Show clustered index on timeseries collection as an index on time to users</title>
                <link>https://jira.mongodb.org/browse/SERVER-60649</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Time-series collections show no indexes by default. After&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59798&quot; title=&quot;Display clusteredIndex in listIndexes for clustered collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59798&quot;&gt;&lt;del&gt;SERVER-59798&lt;/del&gt;&lt;/a&gt; we will show a clustered index to users on any clustered collections, but not on the time-series buckets collection.&lt;/p&gt;

&lt;p&gt;We should take this a step further and have listIndexes show the clustered index on _id for the buckets collection, and when listIndexes is run on a time-series collection transform that the spec by showing an index on time.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1897391">SERVER-60649</key>
            <summary>Show clustered index on timeseries collection as an index on time to users</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="fausto.leyva@mongodb.com">Fausto Leyva</assignee>
                                    <reporter username="louis.williams@mongodb.com">Louis Williams</reporter>
                        <labels>
                            <label>execution-product-sync</label>
                            <label>time-series</label>
                    </labels>
                <created>Wed, 13 Oct 2021 13:53:09 +0000</created>
                <updated>Thu, 9 Jun 2022 20:06:33 +0000</updated>
                            <resolved>Thu, 9 Jun 2022 20:06:33 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4605668" author="JIRAUSER1253362" created="Thu, 9 Jun 2022 20:06:33 +0000"  >&lt;p&gt;The original goal of this ticket was to reduce user confusion and although the change would increase clarity when running listIndexes on a time-series collection, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=michael.gargiulo%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;michael.gargiulo@mongodb.com&quot;&gt;michael.gargiulo@mongodb.com&lt;/a&gt; is concerned we would encounter some confusion when differentiating between the clustered index and a secondary index on time (required to avoid index key name collisions when passing an index as a hint). Seeing as we rely heavily on hints for sorting, we are closing the ticket as we no longer see this ticket being as beneficial as originally intended.&lt;/p&gt;</comment>
                            <comment id="4450917" author="david.percy" created="Fri, 1 Apr 2022 16:54:05 +0000"  >&lt;p&gt;We should consider how listIndexes and hints interact.  On a normal collection you can take any &apos;key&apos; returned by listIndexes and pass it in as a hint.  If two indexes have the same key, you get an error: &quot;Hint matched multiple indexes, must hint by index name.&quot;  &lt;/p&gt;

&lt;p&gt;If we made time-series collections report a fake index on {time: 1}, would hint({time: 1}) do a clustered collscan?  (You can already hint a clustered collscan with {$natural: 1}.)  If there&apos;s also a secondary index on {time: 1}, would hint({time: 1}) be ambiguous and raise that error?&lt;/p&gt;</comment>
                            <comment id="4305093" author="JIRAUSER1263153" created="Fri, 21 Jan 2022 09:59:11 +0000"  >&lt;p&gt;&#160;From &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-58150&quot; title=&quot;Time-series collections should somehow display the clustered index on time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-58150&quot;&gt;&lt;del&gt;SERVER-58150&lt;/del&gt;&lt;/a&gt; :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;One option we could consider:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Report a fake index on {time: 1} in listIndexes with some flag indicating that it is built-in and the primary index, like &quot;builtIn: true&quot;&lt;/li&gt;
	&lt;li&gt;Secondary indexes on {time: 1} will not have this &quot;builtIn&quot; flag. In this way, users can differentiate between the built-in index and any secondary indexes they build.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1802547">SERVER-58150</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>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 21 Jan 2022 09:59:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 34 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2841</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>fausto.leyva@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 34 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>daniel.gomezferro@mongodb.com</customfieldvalue>
            <customfieldvalue>david.percy@mongodb.com</customfieldvalue>
            <customfieldvalue>fausto.leyva@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|i05k3b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr27gj:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5980">Execution Team 2022-05-16</customfieldvalue>
    <customfieldvalue id="5981">Execution Team 2022-05-30</customfieldvalue>
    <customfieldvalue id="6029">Execution Team 2022-06-13</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|i0568n:</customfieldvalue>

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