<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:52:33 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-61486] Investigate work needed to track duplicate key violations before unique index conversion time</title>
                <link>https://jira.mongodb.org/browse/SERVER-61486</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It&apos;s a requirement for the index conversion time to be relative to the number of violations instead of the size of the index itself. &lt;/p&gt;

&lt;p&gt;This ticket should look into reusing the DuplicateKeyTracker to keep track of uniqueness violations instead of relying on a full index scan.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1925362">SERVER-61486</key>
            <summary>Investigate work needed to track duplicate key violations before unique index conversion time</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="pavithra.vetriselvan@mongodb.com">Pavithra Vetriselvan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Nov 2021 15:52:11 +0000</created>
                <updated>Sun, 29 Oct 2023 21:46:01 +0000</updated>
                            <resolved>Sun, 5 Dec 2021 00:23:42 +0000</resolved>
                                                    <fixVersion>5.2.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5030202" author="benety.goh" created="Mon, 5 Dec 2022 16:31:23 +0000"  >&lt;p&gt;In this &lt;a href=&quot;https://github.com/mongodb/mongo/commit/d46a365b846e66cefcad000f95754cf285e6dd0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;commit&lt;/a&gt;, we added a couple of wrappers around &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d46a365b846e66cefcad000f95754cf285e6dd0f/src/mongo/shell/servers_misc.js#L113&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;startParallelShell&lt;/a&gt;, which began life in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-516&quot; title=&quot;yield on multi-update&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-516&quot;&gt;&lt;del&gt;SERVER-516&lt;/del&gt;&lt;/a&gt; in this &lt;a href=&quot;https://github.com/mongodb/mongo/commit/27f8361d4d651a2bce8959847c5a410a11218a20#diff-7bd23ab4431a37c1b298e2c6322768b84735b36081a1e6e9bfbb4cee1c67c8d6R727&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;commit&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="4231176" author="xgen-internal-githook" created="Sat, 4 Dec 2021 19:10:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; avoid full index scan during unique index conversion&lt;/p&gt;

&lt;p&gt;Extracts keys from documents changed after start of conversion to&lt;br/&gt;
determine if duplicates exist in the converted index.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fbe42b59f77c645413ebb60f6d11df7acf9612ee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fbe42b59f77c645413ebb60f6d11df7acf9612ee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4231089" author="xgen-internal-githook" created="Sat, 4 Dec 2021 14:01:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; add test and fail point to check collMod handling of side writes while converting an index to unique&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cace8e673b5341fd5a2c570784d1b40f2ff1e5a5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cace8e673b5341fd5a2c570784d1b40f2ff1e5a5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4231079" author="xgen-internal-githook" created="Sat, 4 Dec 2021 13:23:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; collMod tracks side writes during unique index conversion&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a4cc735b9ec8d826e22cc6e3edeae17c2fd17261&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a4cc735b9ec8d826e22cc6e3edeae17c2fd17261&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4230991" author="xgen-internal-githook" created="Sat, 4 Dec 2021 03:20:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; add test case for non-existent namespace for unique index conversion&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cd2787ff5e94fc051750b0d7f0700c93fe867f6a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cd2787ff5e94fc051750b0d7f0700c93fe867f6a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4230984" author="xgen-internal-githook" created="Sat, 4 Dec 2021 02:41:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; scanIndexForDuplicates() accepts optional KeyString::Value and limit&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/48eb54377e8df6abac0c62f276840a16bd772376&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/48eb54377e8df6abac0c62f276840a16bd772376&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4230963" author="xgen-internal-githook" created="Sat, 4 Dec 2021 01:22:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; add parallel shell helpers for running commands&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d46a365b846e66cefcad000f95754cf285e6dd0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d46a365b846e66cefcad000f95754cf285e6dd0f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4230807" author="xgen-internal-githook" created="Fri, 3 Dec 2021 23:48:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; add CollModOpObserver&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/45f378b3ba9c5f7b10ec6e8186e8651e7a46c9ad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/45f378b3ba9c5f7b10ec6e8186e8651e7a46c9ad&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4230760" author="xgen-internal-githook" created="Fri, 3 Dec 2021 22:53:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61486&quot; title=&quot;Investigate work needed to track duplicate key violations before unique index conversion time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61486&quot;&gt;&lt;del&gt;SERVER-61486&lt;/del&gt;&lt;/a&gt; add CollModWriteOpsTracker&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/32d5eaacb19f9730a70fea1e1627c2df2fe23265&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/32d5eaacb19f9730a70fea1e1627c2df2fe23265&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4230581" author="benety.goh" created="Fri, 3 Dec 2021 21:32:59 +0000"  >&lt;p&gt;Follow up work detailed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61912&quot; title=&quot;Investigate rescanning an index vs processing concurrent writes after interrupt during unique index conversion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61912&quot;&gt;&lt;del&gt;SERVER-61912&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61913&quot; title=&quot;Investigate tracking deletes for unique index conversion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61913&quot;&gt;&lt;del&gt;SERVER-61913&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1943277">SERVER-61922</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1942409">SERVER-61912</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1942415">SERVER-61913</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1886299">SERVER-60312</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="11069">SERVER-516</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>10.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_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>Tue, 16 Nov 2021 15:31:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 9 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_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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2378</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>
                            1 year, 9 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>pavithra.vetriselvan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0achb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hztqm7:</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="5422">Execution Team 2021-11-29</customfieldvalue>
    <customfieldvalue id="5423">Execution Team 2021-12-13</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|i09ymn:</customfieldvalue>

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