<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:18 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>[JAVA-444] make ensureIndex first do a read on index collection to see if index exists</title>
                <link>https://jira.mongodb.org/browse/JAVA-444</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;this prevents a write lock&lt;/p&gt;</description>
                <environment></environment>
        <key id="23311">JAVA-444</key>
            <summary>make ensureIndex first do a read on index collection to see if index exists</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="9">Done</resolution>
                                        <assignee username="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Oct 2011 18:06:19 +0000</created>
                <updated>Wed, 19 Oct 2016 22:31:19 +0000</updated>
                            <resolved>Fri, 4 Nov 2011 21:44:35 +0000</resolved>
                                                    <fixVersion>2.7</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="62646" author="auto" created="Wed, 26 Oct 2011 01:21:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;bwmcadams&apos;, u&apos;name&apos;: u&apos;Brendan W. McAdams&apos;, u&apos;email&apos;: u&apos;brendan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-444&quot; title=&quot;make ensureIndex first do a read on index collection to see if index exists&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-444&quot;&gt;&lt;del&gt;JAVA-444&lt;/del&gt;&lt;/a&gt;: make ensureIndex first do a read on index collection to see if index exists&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;If an embedded field was referenced in an index a hard failure&lt;br/&gt;
  occurred,  due to triggering of the &apos;no dots in key names&apos; logic&lt;br/&gt;
  via the insert.  Moved code to use the lower level API method which&lt;br/&gt;
  permits disabling of key checks.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4199be83fdc93982144db3b4dc0668d0682dd458&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4199be83fdc93982144db3b4dc0668d0682dd458&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="62645" author="brendan" created="Wed, 26 Oct 2011 01:15:49 +0000"  >&lt;p&gt;The way this code inserts, it is being blocked by the Key check code if you create an index on an embedded field.&lt;/p&gt;</comment>
                            <comment id="62108" author="auto" created="Mon, 24 Oct 2011 07:13:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;scotthernandez&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-444&quot; title=&quot;make ensureIndex first do a read on index collection to see if index exists&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-444&quot;&gt;&lt;del&gt;JAVA-444&lt;/del&gt;&lt;/a&gt;: query before insert on index creation.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/defc4a7897d1b83eb7fab1e38a05cdbcbade880b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/defc4a7897d1b83eb7fab1e38a05cdbcbade880b&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hrhbnr:</customfieldvalue>

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