<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:37:43 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-78199] btree index check, avoid create duplicate btree indexes, Avoid affecting performance and increases storage consts.</title>
                <link>https://jira.mongodb.org/browse/SERVER-78199</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="2371458">SERVER-78199</key>
            <summary>btree 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="3">Duplicate</resolution>
                                        <assignee username="daotang.yang@mongodb.com">Daotang Yang</assignee>
                                    <reporter username="1147952115@qq.com">y yz</reporter>
                        <labels>
                            <label>former-storex-namer</label>
                    </labels>
                <created>Sun, 18 Jun 2023 07:28:02 +0000</created>
                <updated>Tue, 9 Jan 2024 04:06:45 +0000</updated>
                            <resolved>Tue, 9 Jan 2024 04:06:45 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5996084" author="1147952115@qq.com" created="Tue, 9 Jan 2024 02:57:26 +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;master branch PR: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84667&quot; title=&quot;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-84667&quot;&gt;&lt;del&gt;SERVER-84667&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5994739" author="JIRAUSER1275238" created="Mon, 8 Jan 2024 18:15:39 +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 change the pull request against master instead of 5.0&lt;/p&gt;</comment>
                            <comment id="5776277" author="louis.williams" created="Fri, 13 Oct 2023 13:40:00 +0000"  >&lt;p&gt;Hi &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 PR. We are looking for someone to evaluate your PR.&lt;/p&gt;</comment>
                            <comment id="5775630" author="1147952115@qq.com" created="Fri, 13 Oct 2023 07:20:41 +0000"  >&lt;p&gt;hi,&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chris.kelly%40mongodb.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Chris Kelly&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do we have the conclusion of this PR?&#160;&lt;/p&gt;

&lt;p&gt;thanks.&lt;/p&gt;</comment>
                            <comment id="5512818" author="JIRAUSER1265262" created="Tue, 20 Jun 2023 16:51:02 +0000"  >&lt;p&gt;Thanks for the pull request &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;&#160; - I&apos;ll pass this to the relevant team to take a look.&lt;/p&gt;

&lt;p&gt;Your continued efforts here are appreciated!&lt;/p&gt;

&lt;p&gt;Christopher&lt;/p&gt;</comment>
                            <comment id="5508031" author="1147952115@qq.com" created="Sun, 18 Jun 2023 07:45:17 +0000"  >&lt;p&gt;the code address: &#160;&lt;a href=&quot;https://github.com/mongodb/mongo/pull/1557&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1557&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5508026" author="1147952115@qq.com" created="Sun, 18 Jun 2023 07:42:40 +0000"  >&lt;p&gt;befor:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/456928/456928_image-2023-06-18-15-32-00-192.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

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

&lt;p&gt;after the PR push:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/456929/456929_image-2023-06-18-15-41-49-632.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/456930/456930_image-2023-06-18-15-42-34-344.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="5508019" author="1147952115@qq.com" created="Sun, 18 Jun 2023 07:29:20 +0000"  >&lt;p&gt;switched to db test&lt;br/&gt;
mongodb_5.0_shard2:PRIMARY&amp;gt; &lt;font color=&quot;#ff0000&quot;&gt;&lt;b&gt;db.test.createIndex({a:1})&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

{ &#160; &#160; &#160; &#160;

&quot;numIndexesBefore&quot; : 1, &#160; &#160; &#160; &#160; &quot;numIndexesAfter&quot; : 2, &#160; &#160; &#160; &#160;

&quot;createdCollectionAutomatically&quot; : true, &#160; &#160; &#160; &#160;

&quot;commitQuorum&quot; : &quot;votingMembers&quot;, &#160; &#160; &#160; &#160;

&quot;ok&quot; : 1, &#160; &#160; &#160; &#160;

xxx &#160; &#160; &#160; &#160;

&quot;operationTime&quot; : Timestamp(1687072400, 2)

}

&lt;p&gt;mongodb_5.0_shard2:PRIMARY&amp;gt;&#160;&lt;br/&gt;
mongodb_5.0_shard2:PRIMARY&amp;gt;&#160;&lt;br/&gt;
mongodb_5.0_shard2:PRIMARY&amp;gt; &lt;font color=&quot;#ff0000&quot;&gt;&lt;b&gt;db.test.createIndex({a:11})&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

{ &#160; &#160; &#160; &#160;

&quot;numIndexesBefore&quot; : 2, &#160; &#160; &#160; &#160;

&quot;numIndexesAfter&quot; : 3, &#160; &#160; &#160; &#160;

&quot;createdCollectionAutomatically&quot; : false, &#160; &#160; &#160; &#160;

&quot;commitQuorum&quot; : &quot;votingMembers&quot;, &#160; &#160; &#160; &#160;

&quot;ok&quot; : 1, &#160; &#160; &#160; &#160;

xxxx &#160; &#160; &#160; &#160;

&quot;operationTime&quot; : Timestamp(1687072403, 1)

}

&lt;p&gt;mongodb_5.0_shard2:PRIMARY&amp;gt;&#160;&lt;br/&gt;
mongodb_5.0_shard2:PRIMARY&amp;gt; db.test.getIndexes()&lt;br/&gt;
[&lt;br/&gt;
&#160; &#160; &#160; &#160; {&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;v&quot; : 2,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;key&quot; :&lt;/p&gt;

{ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;_id&quot; : 1 &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&lt;p&gt;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;name&quot; : &quot;&lt;em&gt;id&lt;/em&gt;&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; },&lt;br/&gt;
&#160; &#160; &#160; &#160; {&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;v&quot; : 2,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;key&quot; :&lt;/p&gt;

{ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;a&quot; : 1 &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&lt;p&gt;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;font color=&quot;#ff0000&quot;&gt;&lt;b&gt;&quot;name&quot; : &quot;a_1&quot;&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; },&lt;br/&gt;
&#160; &#160; &#160; &#160; {&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;v&quot; : 2,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;key&quot; :&lt;/p&gt;

{ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;a&quot; : 11 &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&lt;p&gt;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;font color=&quot;#ff0000&quot;&gt;&lt;b&gt;&quot;name&quot; : &quot;a_11&quot;&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; }&lt;br/&gt;
]&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                        <issuelink>
            <issuekey id="2540259">SERVER-84667</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="339903">SERVER-27464</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="456928" name="image-2023-06-18-15-32-00-192.png" size="24949" author="1147952115@qq.com" created="Sun, 18 Jun 2023 07:32:01 +0000"/>
                            <attachment id="456929" name="image-2023-06-18-15-41-49-632.png" size="53603" author="1147952115@qq.com" created="Sun, 18 Jun 2023 07:41:52 +0000"/>
                            <attachment id="456930" name="image-2023-06-18-15-42-34-344.png" size="59948" author="1147952115@qq.com" created="Sun, 18 Jun 2023 07:42:35 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 20 Jun 2023 16:51:02 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 weeks, 2 days 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>chris.kelly@mongodb.com</customfieldvalue>
            <customfieldvalue>daotang.yang@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@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|i2ef9z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr24ws:</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="7566">Execution Team 2023-12-11</customfieldvalue>
    <customfieldvalue id="7852">Execution Team 2024-01-08</customfieldvalue>
    <customfieldvalue id="7995">Execution Team 2024-01-22</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|i2e1fb:</customfieldvalue>

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