<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:21:40 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-50081] Support validation repair mode with duplicates on unique indexes</title>
                <link>https://jira.mongodb.org/browse/SERVER-50081</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently when there are duplicate documents in the RecordStore but no matching key in a unique index, validate repair mode is unable to insert the missingIndexEntry and thus unable to repair this in validate repair mode.&lt;/p&gt;

&lt;p&gt;In this scenario, we might want to delete the duplicate document.&lt;/p&gt;

&lt;p&gt;This feature is different from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49507&quot; title=&quot;Reduce memory consumption in startup repair when rebuilding unique indexes with a large number of duplicate records&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49507&quot;&gt;&lt;del&gt;SERVER-49507&lt;/del&gt;&lt;/a&gt;, which only deals with index rebuilds after salvaging data files.&lt;/p&gt;

&lt;p&gt;Also, remove the TODO &lt;a href=&quot;https://github.com/mongodb/mongo/blob/84ae2755904df75ea8ab79e0595227b04bf02251/src/mongo/dbtests/validate_tests.cpp#L2126&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1426754">SERVER-50081</key>
            <summary>Support validation repair mode with duplicates on unique indexes</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="13201">Fixed</resolution>
                                        <assignee username="shinyee.tan@mongodb.com">Shin Yee Tan</assignee>
                                    <reporter username="shinyee.tan@mongodb.com">Shin Yee Tan</reporter>
                        <labels>
                            <label>newgrad</label>
                    </labels>
                <created>Mon, 3 Aug 2020 16:15:14 +0000</created>
                <updated>Sun, 29 Oct 2023 22:04:51 +0000</updated>
                            <resolved>Fri, 28 Jan 2022 18:41:05 +0000</resolved>
                                                    <fixVersion>5.3.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4321990" author="xgen-internal-githook" created="Fri, 28 Jan 2022 19:25:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Shin Yee Tan&apos;, &apos;email&apos;: &apos;shinyee.tan@mongodb.com&apos;, &apos;username&apos;: &apos;shinyeet&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50081&quot; title=&quot;Support validation repair mode with duplicates on unique indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50081&quot;&gt;&lt;del&gt;SERVER-50081&lt;/del&gt;&lt;/a&gt; Remove duplicate documents of unique indexes in repair mode&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cf244b1424284ee337406849c791029370d28234&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cf244b1424284ee337406849c791029370d28234&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3360905" author="louis.williams" created="Wed, 26 Aug 2020 19:28:03 +0000"  >&lt;p&gt;I&apos;m going to take this out of the project and put in the backlog because this scenario currently falls back on the work done in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49507&quot; title=&quot;Reduce memory consumption in startup repair when rebuilding unique indexes with a large number of duplicate records&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49507&quot;&gt;&lt;del&gt;SERVER-49507&lt;/del&gt;&lt;/a&gt; to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cef5fedff77cc1719470310bf765f358396ba017/src/mongo/db/repair.cpp#L267&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;rebuild indexes when validation fails&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It would be nice to have for completeness, but it will be mostly duplicating the effort in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49507&quot; title=&quot;Reduce memory consumption in startup repair when rebuilding unique indexes with a large number of duplicate records&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49507&quot;&gt;&lt;del&gt;SERVER-49507&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;In addition, I have not seen any duplicate key validation failures in the wild, with the exception of the file salvage case that is already handled by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49507&quot; title=&quot;Reduce memory consumption in startup repair when rebuilding unique indexes with a large number of duplicate records&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49507&quot;&gt;&lt;del&gt;SERVER-49507&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Aug 2020 19:28:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 1 week, 5 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 1 week, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>shinyee.tan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxxrm7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2m7r:</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="5423">Execution Team 2021-12-13</customfieldvalue>
    <customfieldvalue id="5424">Execution Team 2021-12-27</customfieldvalue>
    <customfieldvalue id="5550">Execution Team 2022-01-10</customfieldvalue>
    <customfieldvalue id="5551">Execution Team 2022-01-24</customfieldvalue>
    <customfieldvalue id="5552">Execution Team 2022-02-07</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|hxxdvj:</customfieldvalue>

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