<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:38:28 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-342] Background index behaviour on a secondary</title>
                <link>https://jira.mongodb.org/browse/DOCS-342</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;It looks like the information on building background indexes on a secondary may be based on an incorrect commit comment for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2771&quot; title=&quot;Background index builds on replica set secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2771&quot;&gt;&lt;del&gt;SERVER-2771&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
 &lt;a href=&quot;http://www.mongodb.org/display/DOCS/Building+indexes+with+replica+sets#Buildingindexeswithreplicasets-Version2.1.0andlater&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Building+indexes+with+replica+sets#Buildingindexeswithreplicasets-Version2.1.0andlater&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2771?focusedCommentId=66004&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-66004&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;comment from Kristina &lt;/a&gt; says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Index builds will now happen in the background on secondaries if they happen in the background on the primary. This means that reads can continue while the index builds. However, replication will block until the index build is complete.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;.. but the &lt;a href=&quot;https://github.com/mongodb/mongo/commit/72dcc0b296306fc432f52ada8eedf4814c791b68&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;preceding commit&lt;/a&gt; actually appears to change the background index on the primary to a foreground index with the log message:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt; info: indexing in foreground on this replica; was a background index build on the primary&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="44625">DOCS-342</key>
            <summary>Background index behaviour on a secondary</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="9">Done</resolution>
                                        <assignee username="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="stephen.steneker@mongodb.com">Stennie Steneker</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jul 2012 03:59:30 +0000</created>
                <updated>Mon, 30 Oct 2023 22:03:51 +0000</updated>
                            <resolved>Tue, 24 Jul 2012 14:07:56 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="146552" author="samk" created="Tue, 24 Jul 2012 14:07:51 +0000"  >&lt;p&gt;new docs pushed, and this point is clarified.&lt;/p&gt;</comment>
                            <comment id="146028" author="samk" created="Mon, 23 Jul 2012 13:37:36 +0000"  >&lt;p&gt;The new docs have the new behavior, and will go out today. I&apos;ve just edited the wiki pages to reflect this change.&lt;/p&gt;

&lt;p&gt;I&apos;m going to make a new docs ticket for can&apos;t kill foreground index operation.&lt;/p&gt;</comment>
                            <comment id="145936" author="dan@10gen.com" created="Sun, 22 Jul 2012 23:49:38 +0000"  >&lt;p&gt;On a related note, I think we should document &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3067&quot; title=&quot;Can&amp;#39;t kill indexing operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3067&quot;&gt;&lt;del&gt;SERVER-3067&lt;/del&gt;&lt;/a&gt; (can&apos;t kill a foreground index operation) on the index page.  This is super important since it takes a write lock and prevents reads and writes on that database durin the duration of the index build.&lt;/p&gt;</comment>
                            <comment id="145934" author="dan@10gen.com" created="Sun, 22 Jul 2012 23:44:19 +0000"  >&lt;p&gt;Sam, the wiki page is still incorrect as stephen pointed out.  The fix to allow background:true to be propagated to secondaries did &lt;b&gt;not&lt;/b&gt; make it 2.2.0&lt;/p&gt;

&lt;p&gt;Can you fix that where it appears on either the wiki or the new docs?&lt;/p&gt;</comment>
                            <comment id="145523" author="samk" created="Fri, 20 Jul 2012 20:31:46 +0000"  >&lt;p&gt;Fixed in the commits that resolved &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-330&quot; title=&quot;Review two Indexing Documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-330&quot;&gt;&lt;del&gt;DOCS-330&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="144422" author="samk" created="Wed, 18 Jul 2012 13:31:38 +0000"  >&lt;p&gt;I&apos;ve updated the wiki pages to reflect the facts: &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If you specify &lt;tt&gt;background: true&lt;/tt&gt; when creating the index on the primary, secondaries in 2.1 and 2.2 will build the index in the background. This allows secondary (i.e. slaveOk) reads to continue while building the index.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Replication will halt on a secondary while the index is built (in the background.)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;m going to update the new docs (which are still in draft status) with this fact shortly, but I think it&apos;d be ok to close this ticket if you&apos;re ok with that? &lt;/p&gt;</comment>
                            <comment id="144280" author="stennie" created="Wed, 18 Jul 2012 04:01:49 +0000"  >&lt;p&gt;Also mentioned here: &lt;a href=&quot;http://www.mongodb.org/display/DOCS/Indexing+as+a+Background+Operation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Indexing+as+a+Background+Operation&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="15135">SERVER-2771</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 18 Jul 2012 13:31:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 30 weeks, 1 day 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>
                            11 years, 30 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrseh3:</customfieldvalue>

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

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

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