<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:41 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>[CSHARP-736] Don&apos;t cache EnsureIndex and deprecate CreateIndex</title>
                <link>https://jira.mongodb.org/browse/CSHARP-736</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;EnsureIndex attempts to remember which indexes already exist in order to avoid a round trip to the server if possible. However, this is fragile because EnsureIndex can&apos;t know what&apos;s going on in other processes. It is better to just let the server decide if the index already exists or not.&lt;/p&gt;

&lt;p&gt;Caching was the only difference between EnsureIndex and CreateIndex. Since these two methods now do the same thing we are deprecating CreateIndex (note that the shell deprecated createIndex as far back as version 1.8 of the server).&lt;/p&gt;</description>
                <environment></environment>
        <key id="73570">CSHARP-736</key>
            <summary>Don&apos;t cache EnsureIndex and deprecate CreateIndex</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Apr 2013 23:11:07 +0000</created>
                <updated>Wed, 17 Dec 2014 00:22:49 +0000</updated>
                            <resolved>Tue, 30 Apr 2013 14:10:27 +0000</resolved>
                                    <version>1.8.1</version>
                                    <fixVersion>1.8.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="639349" author="craiggwilson" created="Mon, 30 Jun 2014 22:50:36 +0000"  >&lt;p&gt;I&apos;m not sure about the shell. I was referring to the new createIndexes command: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/command/createIndexes/#dbcmd.createIndexes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/command/createIndexes/#dbcmd.createIndexes&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="639230" author="sallgeud" created="Mon, 30 Jun 2014 21:11:10 +0000"  >&lt;p&gt;Thanks... does that mean this will be changing by the doc team?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="639176" author="craiggwilson" created="Mon, 30 Jun 2014 20:23:11 +0000"  >&lt;p&gt;Nope, we flipped them. The server has gone with createIndex as the new command name for index creation, so we are naming ours similarly. CreateIndex is now correct.&lt;/p&gt;</comment>
                            <comment id="639126" author="sallgeud" created="Mon, 30 Jun 2014 19:44:58 +0000"  >&lt;p&gt;It appears that EnsureIndex got deprecated and suggests we use CreateIndex.. but that appears wrong:?&lt;/p&gt;</comment>
                            <comment id="324869" author="auto" created="Tue, 30 Apr 2013 14:10:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-29T23:28:25Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-736&quot; title=&quot;Don&amp;#39;t cache EnsureIndex and deprecate CreateIndex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-736&quot;&gt;&lt;del&gt;CSHARP-736&lt;/del&gt;&lt;/a&gt;: Don&apos;t cache EnsureIndex and deprecate CreateIndex.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/77bf751d0f16dba848ca2471f773785727b5d34e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/77bf751d0f16dba848ca2471f773785727b5d34e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="174933">DOCS-4539</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="174943">DOCS-4540</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrnk67:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>51228</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>