<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:58 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-2441] ensureIndex records arbitrary direction objects</title>
                <link>https://jira.mongodb.org/browse/SERVER-2441</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&amp;gt; db.test5.ensureIndex(&lt;/p&gt;
{x:&quot;foo&quot;}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test5.getIndexes()&lt;br/&gt;
[&lt;br/&gt;
        {&lt;br/&gt;
                &quot;name&quot; : &quot;&lt;em&gt;id&lt;/em&gt;&quot;,&lt;br/&gt;
                &quot;ns&quot; : &quot;test.test5&quot;,&lt;br/&gt;
                &quot;key&quot; : &lt;/p&gt;
{
                        &quot;_id&quot; : 1
                }
&lt;p&gt;        },&lt;br/&gt;
        {&lt;br/&gt;
                &quot;_id&quot; : ObjectId(&quot;4d46194d53ffe3441923319f&quot;),&lt;br/&gt;
                &quot;ns&quot; : &quot;test.test5&quot;,&lt;br/&gt;
                &quot;key&quot; : &lt;/p&gt;
{
                        &quot;x&quot; : &quot;foo&quot;
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;name&quot; : &quot;x_&quot;,&lt;br/&gt;
                &quot;v&quot; : 0&lt;br/&gt;
        }&lt;br/&gt;
]&lt;/p&gt;


&lt;p&gt;It seems like it should be 1 of the 3 possible values when it is stored.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14363">SERVER-2441</key>
            <summary>ensureIndex records arbitrary direction objects</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="-1">Unassigned</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Jan 2011 02:27:02 +0000</created>
                <updated>Wed, 22 Feb 2012 02:52:42 +0000</updated>
                            <resolved>Mon, 31 Jan 2011 02:38:14 +0000</resolved>
                                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="22854" author="eliot" created="Mon, 31 Jan 2011 06:39:38 +0000"  >&lt;p&gt;Added a note on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1627&quot; title=&quot;add createIndexes command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1627&quot;&gt;&lt;del&gt;SERVER-1627&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="22847" author="scotthernandez" created="Mon, 31 Jan 2011 04:54:37 +0000"  >&lt;p&gt;Maybe the right time is when we transition to the createIndex command over inserting into the collection.&lt;/p&gt;</comment>
                            <comment id="22846" author="eliot" created="Mon, 31 Jan 2011 04:05:53 +0000"  >&lt;p&gt;Definitely a larger change, but I&apos;d rather go to the fully correct solution at some point, then a mediocre interim solution.&lt;/p&gt;</comment>
                            <comment id="22845" author="scotthernandez" created="Mon, 31 Jan 2011 03:18:27 +0000"  >&lt;p&gt;They are both breaking changes, but it seems like validation and exceptions will break more existing code. I&apos;m all behind that, but it seems like a larger user-facing change.&lt;/p&gt;</comment>
                            <comment id="22844" author="eliot" created="Mon, 31 Jan 2011 03:14:21 +0000"  >&lt;p&gt;I don&apos;t want to change the value you put in.&lt;br/&gt;
So the only change I would make is throwing an exception on an invalid key, which is definitely not a bad idea per se.&lt;/p&gt;</comment>
                            <comment id="22843" author="scotthernandez" created="Mon, 31 Jan 2011 03:12:22 +0000"  >&lt;p&gt;I understand being lenient and I&apos;m not asking for validation or exceptions just recording of consistent values. In the indexing code each index is create either ascending, descending, or 2d (geo).&lt;/p&gt;

&lt;p&gt;When writing an administrative app you need some consistency.&lt;/p&gt;</comment>
                            <comment id="22842" author="eliot" created="Mon, 31 Jan 2011 02:45:37 +0000"  >&lt;p&gt;&quot;foo&quot; in general would be an index type.&lt;br/&gt;
like &quot;2d&quot;.&lt;br/&gt;
There will be many more index types.&lt;/p&gt;

&lt;p&gt;Now arguably we should throw an exception for an invalid index, but we decided not to a while ago since we didn&apos;t want to break users.&lt;br/&gt;
There are a number of people with &quot;1&quot; instead of 1 for example.&lt;/p&gt;</comment>
                            <comment id="22841" author="scotthernandez" created="Mon, 31 Jan 2011 02:42:13 +0000"  >&lt;p&gt;What does &quot;foo&quot; mean in this context?&lt;/p&gt;</comment>
                            <comment id="22840" author="eliot" created="Mon, 31 Jan 2011 02:38:14 +0000"  >&lt;p&gt;&quot;foo&quot; is valid.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="12781">SERVER-1627</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Jan 2011 02:38:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 3 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 3 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp7lb:</customfieldvalue>

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

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

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