<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:04:50 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-23924] Make _id index inherit the collection&apos;s default collation</title>
                <link>https://jira.mongodb.org/browse/SERVER-23924</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;ul&gt;
	&lt;li&gt;If _id index is created at collection creation time, it should take on the collection&apos;s default collation.&lt;/li&gt;
	&lt;li&gt;If the _id index is not created at collection creation time, the user will not be able to specify a collation when building an index with the {_id: 1} key pattern. Such an index build must always use the collection&apos;s default collation.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="282340">SERVER-23924</key>
            <summary>Make _id index inherit the collection&apos;s default collation</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="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="tess.avitabile@mongodb.com">Tess Avitabile</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Apr 2016 23:46:28 +0000</created>
                <updated>Thu, 22 Jun 2017 06:07:01 +0000</updated>
                            <resolved>Fri, 8 Jul 2016 14:18:11 +0000</resolved>
                                                    <fixVersion>3.3.10</fixVersion>
                                    <component>Querying</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1318076" author="xgen-internal-githook" created="Fri, 8 Jul 2016 14:17:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tessavitabile&apos;, u&apos;name&apos;: u&apos;Tess Avitabile&apos;, u&apos;email&apos;: u&apos;tess.avitabile@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23924&quot; title=&quot;Make _id index inherit the collection&amp;#39;s default collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23924&quot;&gt;&lt;del&gt;SERVER-23924&lt;/del&gt;&lt;/a&gt; Make _id index inherit the collection&apos;s default collation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/99d405ae814d9840c029bcb6916cc94aa03b9b68&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/99d405ae814d9840c029bcb6916cc94aa03b9b68&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1246874" author="rassi@10gen.com" created="Tue, 26 Apr 2016 16:07:35 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I&apos;m not sure what you mean by &quot;_id index to have a non-default collation.&quot; Is &quot;non-default collation&quot; the same thing as &quot;not the collation on the collection&quot;? &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Ah, by &quot;a non-default collation&quot; I meant &quot;a collation other than the default binary collation&quot;.  I&apos;ve edited my comment above to clarify.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The spec says: &lt;br/&gt;
&lt;cite&gt;The _id index is created automatically when the collection is created, and therefore will always inherit the collection&#8217;s default collation. At collection create time, there will be no way for the user to specify a collation on the _id index other than the collection default.&lt;/cite&gt;&lt;br/&gt;
While this does not conflict with this ticket, it does seem to reduce the utility of the feature.  Can you expound on the motivation?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Prohibiting users from being able to specify a collation on the _id index other than the collection default saves some amount of development time and presents a simpler user interface, and we didn&apos;t come up with good use cases for it.&lt;/p&gt;

&lt;p&gt;That said, even having the _id index take on a collation other than the simple binary collation isn&apos;t going to be easy, so this ticket proposes one alternative of cutting scope where the _id index always takes on the simple binary collation, regardless of the collection default.&lt;/p&gt;

&lt;p&gt;I think we could discuss this more efficiently in person, so I&apos;d rather meet up to decide instead of continuing to hash this out in ticket comments.&lt;/p&gt;</comment>
                            <comment id="1246832" author="milkie" created="Tue, 26 Apr 2016 15:41:02 +0000"  >&lt;p&gt;I&apos;m not sure what you mean by &quot;_id index to have a non-default collation.&quot;  Is &quot;non-default collation&quot; the same thing as &quot;not the collation on the collection&quot;? &lt;br/&gt;
The spec says: &lt;br/&gt;
&lt;cite&gt;The _id index is created automatically when the collection is created, and therefore will always inherit the collection&#8217;s default collation. At collection create time, there will be no way for the user to specify a collation on the _id index other than the collection default.&lt;/cite&gt;&lt;br/&gt;
While this does not conflict with this ticket, it does seem to reduce the utility of the feature.  Can you expound on the motivation?&lt;/p&gt;</comment>
                            <comment id="1246786" author="rassi@10gen.com" created="Tue, 26 Apr 2016 15:18:18 +0000"  >&lt;p&gt;We&apos;re currently thinking about making the _id index take on the collection default collation, and not exposing any new _id-specific collection options or allow rebuilding of the _id index.  We do understand that this may require some difficult replication work, and we could consider scrapping this idea and forcing the _id to always have the default binary collation.&lt;/p&gt;

&lt;p&gt;Let&apos;s talk in person sometime in the next week or two with other query / distributed systems folks to make a decision on this.&lt;/p&gt;</comment>
                            <comment id="1246739" author="scotthernandez" created="Tue, 26 Apr 2016 14:50:19 +0000"  >&lt;p&gt;Would this setting be part of the collection creation options? Or applied after the _id index is built? Will it allow rebuilding the _id index with a new collation, or just setting it once?&lt;/p&gt;

&lt;p&gt;Replication will require some extra code to handle this, as the cloner and datareplicator use the default _id index spec right now, which is not collation aware, and a static constant.&lt;/p&gt;</comment>
                            <comment id="1246154" author="rassi@10gen.com" created="Mon, 25 Apr 2016 23:49:34 +0000"  >&lt;p&gt;This ticket is currently serving as a placeholder for figuring out whether there are any negative implications on the replication or sharding subsystems of allowing the _id index to have a &lt;del&gt;non-default collation&lt;/del&gt; collation other than the default binary collation.&lt;/p&gt;

&lt;p&gt;If we decide to proceed with collation support for the _id index, we may or may not want to expose a mechanism for directly setting a collation on the _id index (separate from the mechanism of setting the default collation for a collection).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="278303">SERVER-23611</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="295815">SERVER-24715</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="289010">SERVER-24271</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 Apr 2016 14:50:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 31 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-23611'>SERVER-23611</a></s>]]></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-266</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>dtruel</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 31 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk993:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrcu1j:</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="1088">Query 16 (06/24/16)</customfieldvalue>
    <customfieldvalue id="1124">Query 17 (07/15/16)</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|hsezpr:</customfieldvalue>

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