<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:55:38 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-84667] index check, avoid create duplicate btree indexes, Avoid affecting performance and increases storage consts.</title>
                <link>https://jira.mongodb.org/browse/SERVER-84667</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;btree index check, avoid create duplicate btree indexes, Avoid affecting performance&lt;/p&gt;

&lt;p&gt;btree index check, avoid create duplicate btree indexes, Avoid affecting performance by the deplicate index.&lt;br/&gt;
for example:&lt;br/&gt;
add two index: db.collection.createIndex({a:1}) and db.collection.createIndex({a:11})&lt;br/&gt;
the tow index are actually the same, One of them is a useless index, but it can affect the insert performance.&lt;/p&gt;

&lt;p&gt;In addition, They also affecting query performance because both are candidate indexes. This increases storage consts.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2540259">SERVER-84667</key>
            <summary>index check, avoid create duplicate btree indexes, Avoid affecting performance and increases storage consts.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="4">Incomplete</resolution>
                                        <assignee username="daotang.yang@mongodb.com">Daotang Yang</assignee>
                                    <reporter username="1147952115@qq.com">y yz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Jan 2024 02:56:06 +0000</created>
                <updated>Wed, 24 Jan 2024 23:48:22 +0000</updated>
                            <resolved>Wed, 24 Jan 2024 23:48:21 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="6039601" author="JIRAUSER1275238" created="Wed, 24 Jan 2024 23:48:22 +0000"  >&lt;p&gt;A complete fix would need index and driver versioning.&lt;/p&gt;</comment>
                            <comment id="6024151" author="JIRAUSER1275238" created="Thu, 18 Jan 2024 22:15:17 +0000"  >&lt;p&gt;There&apos;s backward compatibility concern with existing apps. Not being able to create duplicate index itself is not backward compatible which might break existing app. For example mongosync might encounter error when syncing from a cluster which has duplicate indexes (not confirmed, but in theory this can be the case).&lt;/p&gt;</comment>
                            <comment id="6007971" author="JIRAUSER1275238" created="Fri, 12 Jan 2024 18:09:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=1147952115%40qq.com&quot; class=&quot;user-hover&quot; rel=&quot;1147952115@qq.com&quot;&gt;1147952115@qq.com&lt;/a&gt; please check again, it should be there now.&lt;/p&gt;</comment>
                            <comment id="6006178" author="1147952115@qq.com" created="Fri, 12 Jan 2024 02:50:43 +0000"  >&lt;p&gt;hi, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daotang.yang%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;daotang.yang@mongodb.com&quot;&gt;daotang.yang@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;sorry, I haven&apos;t seen any comments in &lt;a href=&quot;https://github.com/mongodb/mongo/pull/1588&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1588&lt;/a&gt;, can you send a link.&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;</comment>
                            <comment id="6004672" author="JIRAUSER1275238" created="Thu, 11 Jan 2024 17:39:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=1147952115%40qq.com&quot; class=&quot;user-hover&quot; rel=&quot;1147952115@qq.com&quot;&gt;1147952115@qq.com&lt;/a&gt; Thanks for the effort. I left a comment on the new PR, once that&apos;s addressed, this is good to go.&lt;/p&gt;</comment>
                            <comment id="5996086" author="1147952115@qq.com" created="Tue, 9 Jan 2024 03:00:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/pull/1588&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1588&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5996083" author="1147952115@qq.com" created="Tue, 9 Jan 2024 02:56:53 +0000"  >&lt;p&gt;related with: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78199&quot; title=&quot;btree index check, avoid create duplicate btree indexes, Avoid affecting performance and increases storage consts.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78199&quot;&gt;&lt;del&gt;SERVER-78199&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;this is the master PR.&lt;/p&gt;

&lt;p&gt;thanks.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                                                <inwardlinks description="backports">
                                        <issuelink>
            <issuekey id="2371458">SERVER-78199</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="339903">SERVER-27464</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>7.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 11 Jan 2024 17:39:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 weeks 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>daotang.yang@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 weeks ago
                        </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>daotang.yang@mongodb.com</customfieldvalue>
            <customfieldvalue>1147952115@qq.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i379gn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2ozr0:</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="7995">Execution Team 2024-01-22</customfieldvalue>
    <customfieldvalue id="7996">Execution Team 2024-02-05</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|i36vlz:</customfieldvalue>

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