<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:17:42 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-8536] reenable IndexRebuilder for background indexing</title>
                <link>https://jira.mongodb.org/browse/SERVER-8536</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Re-enable feature and test in jstests/slowNightly/index_retry.js&lt;/p&gt;</description>
                <environment></environment>
        <key id="65021">SERVER-8536</key>
            <summary>reenable IndexRebuilder for background indexing</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="9">Done</resolution>
                                        <assignee username="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="milkie@mongodb.com">Eric Milkie</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Feb 2013 20:42:26 +0000</created>
                <updated>Mon, 11 Jul 2016 17:57:41 +0000</updated>
                            <resolved>Mon, 29 Apr 2013 14:14:57 +0000</resolved>
                                                    <fixVersion>2.5.0</fixVersion>
                                    <component>Index Maintenance</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="349775" author="auto" created="Fri, 31 May 2013 13:00:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;milkie&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8536&quot; title=&quot;reenable IndexRebuilder for background indexing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8536&quot;&gt;&lt;del&gt;SERVER-8536&lt;/del&gt;&lt;/a&gt; prevent race conditions in IndexBuilder tests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/445cb8b8fd98aa30af2b0516d2780b27542681dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/445cb8b8fd98aa30af2b0516d2780b27542681dc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="334598" author="auto" created="Mon, 13 May 2013 17:58:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-05-13T17:58:39Z&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8536&quot; title=&quot;reenable IndexRebuilder for background indexing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8536&quot;&gt;&lt;del&gt;SERVER-8536&lt;/del&gt;&lt;/a&gt; test reliability: work around lock scheduling fairness&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9c046fbf99aada223f2d4d26e331cff0eddc0b98&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9c046fbf99aada223f2d4d26e331cff0eddc0b98&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="313762" author="auto" created="Mon, 15 Apr 2013 15:45:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-15T15:45:21Z&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8536&quot; title=&quot;reenable IndexRebuilder for background indexing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8536&quot;&gt;&lt;del&gt;SERVER-8536&lt;/del&gt;&lt;/a&gt; fix index build restarts for a few commands&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b5303b8d34243e0aabaf22bcbe01b0fc0ef6ce3f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b5303b8d34243e0aabaf22bcbe01b0fc0ef6ce3f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="312273" author="auto" created="Fri, 12 Apr 2013 20:11:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-12T20:08:20Z&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8536&quot; title=&quot;reenable IndexRebuilder for background indexing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8536&quot;&gt;&lt;del&gt;SERVER-8536&lt;/del&gt;&lt;/a&gt; correctly handle uasserts when doing queries in Index Rebuilder&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7797f459758a98bce90593e583f90c858a287a1c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7797f459758a98bce90593e583f90c858a287a1c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="312272" author="auto" created="Fri, 12 Apr 2013 20:11:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-12T17:11:34Z&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8536&quot; title=&quot;reenable IndexRebuilder for background indexing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8536&quot;&gt;&lt;del&gt;SERVER-8536&lt;/del&gt;&lt;/a&gt; adjust replsettest base framework&lt;/p&gt;

&lt;p&gt;Rather than deleting and recreating theReplSet global for each test, let&apos;s&lt;br/&gt;
swap it out once at startup and then leave it alone (and leak at the end).&lt;/p&gt;

&lt;p&gt;This is necessary because theReplSet global cannot be deleted once you have used&lt;br/&gt;
it to do a batch, because the threads in the prefetch and writer thread pools&lt;br/&gt;
each set up a Client context on first use and there is currently no mechanism to&lt;br/&gt;
tell them to call a function at destruct time in order to shut down the&lt;br/&gt;
Contexts.&lt;/p&gt;

&lt;p&gt;This was causing the Windows build to crash (and all builds to print the &quot;you&lt;br/&gt;
didn&apos;t call shutdown() before ~Client::Context&quot; log message).&lt;/p&gt;

&lt;p&gt;I can&apos;t think of an easy way to modify ThreadPool such that it runs a job before&lt;br/&gt;
cancelling and joining all the Threads in the pool.  In actuality, I think&lt;br/&gt;
Client Context is broken and you should not be required to call shutdown()&lt;br/&gt;
before it gets destructed.&lt;/p&gt;

&lt;p&gt;The reason the crash started happening was because we added a lot more tests to&lt;br/&gt;
this suite as part of background indexing, so theReplSet got deleted and reset&lt;br/&gt;
many more times.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/90e75dd68fc39178feeb535739f5e214b07a9d2f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/90e75dd68fc39178feeb535739f5e214b07a9d2f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="308840" author="auto" created="Mon, 8 Apr 2013 20:31:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-02T17:28:11Z&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8536&quot; title=&quot;reenable IndexRebuilder for background indexing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8536&quot;&gt;&lt;del&gt;SERVER-8536&lt;/del&gt;&lt;/a&gt; reenable index builds for incomplete indexes at startup&lt;/p&gt;

&lt;p&gt;At startup time, we will once again attempt to rebuild any index builds&lt;br/&gt;
that were in progress when the server was shut down.&lt;br/&gt;
This is to support background index builds with replication.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6d8d4172c7388495b518ae6b8d4f836532f770d8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6d8d4172c7388495b518ae6b8d4f836532f770d8&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="15135">SERVER-2771</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="150285">SERVER-14746</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="63327">SERVER-8344</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 8 Apr 2013 20:31:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 37 weeks, 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 37 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn6w7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrm4i7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>42664</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_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|hsa33z:</customfieldvalue>

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