<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:00:56 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>[DOCS-10588] Warn about building an index with a unique constraint on a Replica Set</title>
                <link>https://jira.mongodb.org/browse/DOCS-10588</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/build-indexes-on-replica-sets/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/build-indexes-on-replica-sets/&lt;/a&gt;&lt;br/&gt;
If one follows the round-robin method for building an index with a unique constraint, it is possible to end up with different data on different nodes (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30276&quot; title=&quot;Secondary crashes after querying a unique index containing duplicates&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30276&quot;&gt;&lt;del&gt;SERVER-30276&lt;/del&gt;&lt;/a&gt;).  There are workarounds to avoid this situation:&lt;br/&gt;
1. Build the index normally using a foreground or background index build.&lt;br/&gt;
Or&lt;br/&gt;
2. Stop writes to the collection (or avoid inserting unique-constraint-violating data) during the round-robin index building.&lt;/p&gt;</description>
                <environment></environment>
        <key id="409029">DOCS-10588</key>
            <summary>Warn about building an index with a unique constraint on a Replica Set</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="milkie@mongodb.com">Eric Milkie</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Jul 2017 13:53:28 +0000</created>
                <updated>Mon, 30 Oct 2023 19:35:56 +0000</updated>
                            <resolved>Wed, 8 Aug 2018 20:32:27 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1971863" author="xgen-internal-githook" created="Thu, 9 Aug 2018 19:12:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;, &apos;username&apos;: &apos;kay-kim&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: forgot to change to gerund from infinitive&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/cdbfe7c2f801c6a6e5e246ad0811e7833ef31701&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/cdbfe7c2f801c6a6e5e246ad0811e7833ef31701&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1971862" author="xgen-internal-githook" created="Thu, 9 Aug 2018 19:12:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;, &apos;username&apos;: &apos;kay-kim&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: repeat rolling index build blurg in unique index page&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/4f5712df14ceb5cc6619b4591bbe6f1d89ca41b4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/4f5712df14ceb5cc6619b4591bbe6f1d89ca41b4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1970849" author="kay.kim@10gen.com" created="Wed, 8 Aug 2018 20:32:27 +0000"  >&lt;p&gt;Added to the unique index page&lt;/p&gt;</comment>
                            <comment id="1970839" author="xgen-internal-githook" created="Wed, 8 Aug 2018 20:23:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kay-kim&apos;, &apos;name&apos;: &apos;kay&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: forgot to change to gerund from infinitive&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/36afb4bb2a7bb668e72ce1bbb7f95164aead4eaf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/36afb4bb2a7bb668e72ce1bbb7f95164aead4eaf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1970838" author="xgen-internal-githook" created="Wed, 8 Aug 2018 20:23:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kay-kim&apos;, &apos;name&apos;: &apos;kay&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: repeat rolling index build blurg in unique index page&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/e8ecb4ce864e4b2bb5b1e71906c79cb5575b8dbd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/e8ecb4ce864e4b2bb5b1e71906c79cb5575b8dbd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1970601" author="xgen-internal-githook" created="Wed, 8 Aug 2018 17:46:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kay-kim&apos;, &apos;name&apos;: &apos;kay&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: forgot to change to gerund from infinitive&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/db26c3a4793bcb852db758f9c7e96160481e74b5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/db26c3a4793bcb852db758f9c7e96160481e74b5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1970600" author="xgen-internal-githook" created="Wed, 8 Aug 2018 17:45:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;, &apos;username&apos;: &apos;kay-kim&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: repeat rolling index build blurg in unique index page&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/1cb34ee4ecdbcf2e1eb59eba94ecf22fb3542b2a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/1cb34ee4ecdbcf2e1eb59eba94ecf22fb3542b2a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1720603" author="xgen-internal-githook" created="Wed, 8 Nov 2017 17:50:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: round-robin index build for unique indexes&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/d035bebbcaf2211a65c84faf2f6abdaa632bb262&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/d035bebbcaf2211a65c84faf2f6abdaa632bb262&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1720595" author="xgen-internal-githook" created="Wed, 8 Nov 2017 17:45:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: round-robin index build for unique indexes&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/a2bd31681df61991aa0bdbe123fabcefb68ff949&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/a2bd31681df61991aa0bdbe123fabcefb68ff949&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1720593" author="xgen-internal-githook" created="Wed, 8 Nov 2017 17:44:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: round-robin index build for unique indexes&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/dfa4dbe011dd2b3fada25645d70da1ebead13d10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/dfa4dbe011dd2b3fada25645d70da1ebead13d10&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1720592" author="xgen-internal-githook" created="Wed, 8 Nov 2017 17:44:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;kay&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-10588&quot; title=&quot;Warn about building an index with a unique constraint on a Replica Set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-10588&quot;&gt;&lt;del&gt;DOCS-10588&lt;/del&gt;&lt;/a&gt;: round-robin index build for unique indexes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/c33ea4c754c2f313780f2eac9999788b875535ea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/c33ea4c754c2f313780f2eac9999788b875535ea&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="407397">SERVER-30276</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>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 8 Nov 2017 00:44:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 26 weeks, 6 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 26 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbrbz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hra1wf:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1324">KANBAN BUCKET</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbden:</customfieldvalue>

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