<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:49:44 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-82594] Verify IndexBuildCoordinator behavior during config change.</title>
                <link>https://jira.mongodb.org/browse/SERVER-82594</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The IndexBuildCoordinator obtains the Replication Coordinator member configuration using replCoord-&amp;gt;findConfigMemberByHostAndPort() in two places.  Since the configuration could change before this call returns, it&apos;s not clear if this is conceptually a safe thing to do.  We should verify that the IndexBuildCoordinator behaves correctly during configuration changes.&lt;/p&gt;

&lt;p&gt;(There&apos;s currently an actual race, which will be fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-82259&quot; title=&quot;replCoord-&amp;gt;findConfigMemberByHostAndPort is inherently racy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-82259&quot;&gt;&lt;del&gt;SERVER-82259&lt;/del&gt;&lt;/a&gt;, but the issue of stale config data remains)&lt;/p&gt;</description>
                <environment></environment>
        <key id="2485854">SERVER-82594</key>
            <summary>Verify IndexBuildCoordinator behavior during config change.</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="gregory.noma@mongodb.com">Gregory Noma</assignee>
                                    <reporter username="matthew.russotto@mongodb.com">Matthew Russotto</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Oct 2023 18:54:49 +0000</created>
                <updated>Tue, 5 Dec 2023 14:05:29 +0000</updated>
                            <resolved>Mon, 4 Dec 2023 18:43:19 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5924022" author="gregory.noma" created="Mon, 4 Dec 2023 18:42:09 +0000"  >&lt;p&gt;Thanks to the removal of the PBWM, I believe (2) is also safe since the issue fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50519&quot; title=&quot;resumable index build hangs waiting for majority commit point in replica_sets_kill_secondaries_jscore_passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50519&quot;&gt;&lt;del&gt;SERVER-50519&lt;/del&gt;&lt;/a&gt; should no longer be possible. Thus even if the node becomes a non-voter after the check, there shouldn&apos;t be any issues. But I did file &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83857&quot; title=&quot;Allow index builds to be resumable on non-voting nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83857&quot;&gt;&lt;del&gt;SERVER-83857&lt;/del&gt;&lt;/a&gt; to look into removing the restriction and the usage of &lt;tt&gt;ReplicationCoordinator::findConfigMemberByHostAndPort_deprecated&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="5889214" author="gregory.noma" created="Fri, 17 Nov 2023 19:58:35 +0000"  >&lt;p&gt;There are two usages of &lt;tt&gt;ReplicationCoordinator::findConfigMemberByHostAndPort_deprecated&lt;/tt&gt; in the index builds coordinator:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/ecde936ada182c2bca50e2f1ed58e713813ee4cf/src/mongo/db/index_builds_coordinator_mongod.cpp#L572-L577&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;IndexBuildsCoordinatorMongod::voteAbortIndexBuild&lt;/tt&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/ecde936ada182c2bca50e2f1ed58e713813ee4cf/src/mongo/db/index_builds_coordinator.cpp#L504-L509&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;isIndexBuildResumable&lt;/tt&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;(1) should be safe because it only checks whether the node is an arbiter, and &lt;a href=&quot;https://www.mongodb.com/docs/manual/tutorial/convert-secondary-into-arbiter/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;converting a node to/from an arbiter&lt;/a&gt; requires restarting the node and removing it from the replica set. (2) requires a bit more thought because it checks whether the node is a voter, which can change with a reconfig. It uses this to determine whether the index build should be resumable or not: if the node it not a voter, then the index build cannot be resumable. This restriction was added as a part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50519&quot; title=&quot;resumable index build hangs waiting for majority commit point in replica_sets_kill_secondaries_jscore_passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50519&quot;&gt;&lt;del&gt;SERVER-50519&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2476690">SERVER-82259</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2515805">SERVER-83857</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>2.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 17 Nov 2023 19:58:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        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_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>gregory.noma@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>gregory.noma@mongodb.com</customfieldvalue>
            <customfieldvalue>matthew.russotto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2y0wv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2fvn9:f</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="7565">Execution Team 2023-11-27</customfieldvalue>
    <customfieldvalue id="7566">Execution Team 2023-12-11</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|i2xn27:</customfieldvalue>

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