<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:22:52 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-50519] resumable index build hangs waiting for majority commit point in replica_sets_kill_secondaries_jscore_passthrough</title>
                <link>https://jira.mongodb.org/browse/SERVER-50519</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When resumable index builds are enabled (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49847&quot; title=&quot;Turn on resumable index build feature by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49847&quot;&gt;&lt;del&gt;SERVER-49847&lt;/del&gt;&lt;/a&gt;), the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/4a95b7ebc88499c2b3b9aaa11fabbed895f40f18/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml#L41&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replica_sets_kill_secondaries_jscore_passthrough test suite&lt;/a&gt; regularly times out. The logs indicate that there are resumable index builds stuck &lt;a href=&quot;https://github.com/mongodb/mongo/blob/4a95b7ebc88499c2b3b9aaa11fabbed895f40f18/src/mongo/db/index_builds_coordinator.cpp#L2480&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;waiting for the majority commit point before scanning the collection&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The majority wait functionality was added in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48476&quot; title=&quot;resumable index build should use majority read cursor for collection scan&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48476&quot;&gt;&lt;del&gt;SERVER-48476&lt;/del&gt;&lt;/a&gt; to support rolling back a resumable index build.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1451609">SERVER-50519</key>
            <summary>resumable index build hangs waiting for majority commit point in replica_sets_kill_secondaries_jscore_passthrough</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="benety.goh@mongodb.com">Benety Goh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Aug 2020 14:20:03 +0000</created>
                <updated>Mon, 4 Dec 2023 18:33:44 +0000</updated>
                            <resolved>Fri, 11 Sep 2020 19:04:03 +0000</resolved>
                                                    <fixVersion>4.8.0</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3387883" author="xgen-internal-githook" created="Fri, 11 Sep 2020 18:10:37 +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-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; index build is resumable only if commit quorum is the default (i.e. all-voters) and node is a voter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6a031f67c7040b925a36e8092c4f5d36510d68f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6a031f67c7040b925a36e8092c4f5d36510d68f2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3385359" author="benety.goh" created="Thu, 10 Sep 2020 14:58:44 +0000"  >&lt;p&gt;We can avoid having the commitIndexBuild oplog entry be generated before the majority wait by restricting resumable index builds to voting nodes. This extends the conditions for resumable index builds added in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50446&quot; title=&quot;make index builds non-resumable when commit quorum is disabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50446&quot;&gt;&lt;del&gt;SERVER-50446&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3383782" author="benety.goh" created="Wed, 9 Sep 2020 18:51:54 +0000"  >&lt;p&gt;The reconfig problem observed in this ticket might be alleviated by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49398&quot; title=&quot;Translate ElemMatchObjectMatchExpression to SBE&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49398&quot;&gt;&lt;del&gt;SERVER-49398&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48399&quot; title=&quot;Writing config document to &amp;quot;local.system.replset&amp;quot; should not acquire database lock in stronger mode (X).&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48399&quot;&gt;&lt;del&gt;SERVER-48399&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3375800" author="samy.lanka" created="Thu, 3 Sep 2020 22:47:02 +0000"  >&lt;p&gt;After looking at the logs and hang analyzer output, it looks like this is a specific situation that can only happen with a node that isn&apos;t required for the commit quorum because the primary is able to write the commitIndexBuild oplog entry before the secondary completes the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ac9aa69929bb2f1b9d5014aa3de5799abfded18c/src/mongo/db/index_builds_coordinator.cpp#L2526&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;majority wait before starting the index build&lt;/a&gt;. The primary was recently restarted, so it is in the secondary state when the non-voting secondary syncs from it, meaning that the commit point isn&apos;t advancing at this time.&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:primary] 2020-08-28T02:09:37.137+0000 | 2020-08-28T02:09:37.137+00:00 I  STORAGE  3856201 [conn40] &quot;Index build: commit quorum satisfied&quot;,&quot;attr&quot;:{&quot;indexBuildEntry&quot;:{&quot;_id&quot;:{&quot;$uuid&quot;:&quot;33679498-1022-419b-8575-f1d5711463d5&quot;},&quot;collectionUUID&quot;:{&quot;$uuid&quot;:&quot;70d3c4dd-26cc-447b-bf33-7e2cb80a71b4&quot;},&quot;commitQuorum&quot;:&quot;votingMembers&quot;,&quot;indexNames&quot;:[&quot;point_2d&quot;],&quot;commitReadyMembers&quot;:[&quot;localhost:22500&quot;]}}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:primary] 2020-08-28T02:09:37.139+0000 | 2020-08-28T02:09:37.139+00:00 I  INDEX    20447   [conn36] &quot;Index build: completed&quot;,&quot;attr&quot;:{&quot;buildUUID&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;33679498-1022-419b-8575-f1d5711463d5&quot;}}}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:primary] 2020-08-28T02:10:12.350+0000 | 2020-08-28T02:10:12.350+00:00 I  CONTROL  23377   [SignalHandler] &quot;Received signal&quot;,&quot;attr&quot;:{&quot;signal&quot;:15,&quot;error&quot;:&quot;Terminated&quot;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:primary] 2020-08-28T02:10:26.718+0000 | 2020-08-28T02:10:26.718+00:00 I  REPL     21358   [OplogApplier-0] &quot;Replica set state transition&quot;,&quot;attr&quot;:{&quot;newState&quot;:&quot;SECONDARY&quot;,&quot;oldState&quot;:&quot;RECOVERING&quot;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:secondary] 2020-08-28T02:10:27.501+0000 | 2020-08-28T02:10:27.499+00:00 I  REPL     21092   [BackgroundSync] &quot;Scheduling fetcher to read remote oplog&quot;,&quot;attr&quot;:{&quot;syncSource&quot;:&quot;localhost:22500&quot;,&quot;lastOpTimeFetched&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580577,&quot;i&quot;:4}},&quot;t&quot;:1}}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:secondary] 2020-08-28T02:10:27.522+0000 | 2020-08-28T02:10:27.521+00:00 I  REPL     21832   [ReplCoordExtern-0] &quot;Choosing new sync source. Our current sync source is not primary and does not have a sync source, so we require that it is ahead of us&quot;,&quot;attr&quot;:{&quot;syncSource&quot;:&quot;localhost:22500&quot;,&quot;lastOpTimeFetched&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580612,&quot;i&quot;:1}},&quot;t&quot;:1},&quot;syncSourceLatestOplogOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580612,&quot;i&quot;:1}},&quot;t&quot;:1},&quot;isPrimary&quot;:false}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:secondary] 2020-08-28T02:10:27.543+0000 | 2020-08-28T02:10:27.533+00:00 D2 REPL_HB  4615620 [ReplCoord-0] &quot;Received response to heartbeat&quot;,&quot;attr&quot;:{&quot;requestId&quot;:8,&quot;target&quot;:&quot;localhost:22500&quot;,&quot;response&quot;:{&quot;ok&quot;:1,&quot;state&quot;:2,&quot;v&quot;:2,&quot;configTerm&quot;:1,&quot;set&quot;:&quot;rs&quot;,&quot;term&quot;:1,&quot;durableOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580612,&quot;i&quot;:1}},&quot;t&quot;:1},&quot;durableWallTime&quot;:{&quot;$date&quot;:&quot;2020-08-28T02:10:12.174Z&quot;},&quot;opTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580612,&quot;i&quot;:1}},&quot;t&quot;:1},&quot;wallTime&quot;:{&quot;$date&quot;:&quot;2020-08-28T02:10:12.174Z&quot;},&quot;$replData&quot;:{&quot;term&quot;:1,&quot;lastOpCommitted&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:0,&quot;i&quot;:0}},&quot;t&quot;:-1},&quot;lastCommittedWall&quot;:{&quot;$date&quot;:&quot;1970-01-01T00:00:00.000Z&quot;},&quot;lastOpVisible&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:0,&quot;i&quot;:0}},&quot;t&quot;:-1},&quot;configVersion&quot;:2,&quot;configTerm&quot;:1,&quot;replicaSetId&quot;:{&quot;$oid&quot;:&quot;5f48675ed265de5f69496b2f&quot;},&quot;syncSourceIndex&quot;:-1,&quot;isPrimary&quot;:false},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580612,&quot;i&quot;:1}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;operationTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580612,&quot;i&quot;:1}}}}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:secondary] 2020-08-28T02:10:27.546+0000 | 2020-08-28T02:10:27.545+00:00 I  STORAGE  4847600 [IndexBuildsCoordinatorMongod-0] &quot;Index build: waiting for last optime before interceptors to be majority committed&quot;,&quot;attr&quot;:{&quot;buildUUID&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;33679498-1022-419b-8575-f1d5711463d5&quot;}},&quot;deadline&quot;:{&quot;$date&quot;:{&quot;$numberLong&quot;:&quot;9223372036854775807&quot;}},&quot;timeoutMillis&quot;:9223372036854776000,&quot;lastOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1598580577,&quot;i&quot;:8}},&quot;t&quot;:1}}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;At this point, the former primary runs for election again and wins, causing the term to increment. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8db9cd370aeefacb64c035c92b1ebd8bfb9e8ce5/src/mongo/db/repl/replication_coordinator_impl.cpp#L1185-L1186&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;An automatic reconfig from the stepUp&lt;/a&gt; causes the config term to increment. The secondary eventually learns of the new config via heartbeat and tries to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8db9cd370aeefacb64c035c92b1ebd8bfb9e8ce5/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp#L587&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;persist the new config to disk&lt;/a&gt;.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:primary] 2020-08-28T02:10:32.328+0000 | 2020-08-28T02:10:32.326+00:00 I  ELECTION 21450   [ReplCoord-0] &quot;Election succeeded, assuming primary role&quot;,&quot;attr&quot;:{&quot;term&quot;:2}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:primary] 2020-08-28T02:10:32.329+0000 | 2020-08-28T02:10:32.328+00:00 I  REPL     4508103 [OplogApplier-0] &quot;Increment the config term via reconfig&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:secondary] 2020-08-28T02:10:32.333+0000 | 2020-08-28T02:10:32.331+00:00 D1 REPL_HB  4615622 [ReplCoord-0] &quot;Received new config via heartbeat&quot;,&quot;attr&quot;:{&quot;newConfigVersionAndTerm&quot;:&quot;{version: 2, term: 2}&quot;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[ReplicaSetFixture:job10:secondary] 2020-08-28T02:10:32.333+0000 | 2020-08-28T02:10:32.332+00:00 D2 REPL_HB  4615626 [ReplCoord-2] &quot;Config validated for reconfig; persisting to disk&quot;,&quot;attr&quot;:{&quot;newConfigVersionAndTerm&quot;:&quot;{version: 2, term: 2}&quot;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;From the hang analyzer output, we see that the secondary is stuck persisting the new config while trying to get the DBLock. This is because the oplog applier is holding the PBWM in X mode while trying to apply the commitIndexBuild oplog entry (which is stuck waiting for the majority wait to unblock the index build).&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thread 28 (Thread 0x7f5ed5077700 (LWP 62791)):&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#12 mongo::Interruptible::waitForConditionOrInterruptFor&amp;lt;std::unique_lock&amp;lt;mongo::latch_detail::Latch&amp;gt;, mongo::CondVarLockGrantNotification::wait(mongo::OperationContext*, mongo::Milliseconds)::&amp;lt;lambda()&amp;gt; &amp;gt; (waitTimer=0x0, pred=..., ms=..., m=..., cv=..., this=0x7f5eff786600) at src/mongo/util/interruptible.h:480&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#13 mongo::CondVarLockGrantNotification::wait (this=0x7f5efdbf4728, opCtx=0x7f5eff786600, timeout=...) at src/mongo/db/concurrency/lock_state.cpp:249&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#14 0x00007f5ef13869ee in mongo::LockerImpl::_lockComplete (this=0x7f5efdbf4680, opCtx=0x7f5eff786600, resId=..., mode=mongo::MODE_IS, deadline=...) at src/mongo/db/concurrency/lock_state.cpp:939&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#15 0x00007f5ef136771b in mongo::Lock::ResourceLock::lock (this=0x7f5ed5075588, opCtx=&amp;lt;optimized out&amp;gt;, mode=&amp;lt;optimized out&amp;gt;, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:306&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#16 0x00007f5ef13678fb in mongo::Lock::GlobalLock::GlobalLock (this=0x7f5ed5075578, opCtx=0x7f5eff786600, lockMode=mongo::MODE_IX, deadline=..., behavior=&amp;lt;optimized out&amp;gt;) at src/mongo/db/concurrency/d_concurrency.cpp:152&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#17 0x00007f5ef13679eb in mongo::Lock::DBLock::DBLock (this=0x7f5ed5075560, opCtx=0x7f5eff786600, db=&quot;local&quot;, mode=&amp;lt;optimized out&amp;gt;, deadline=...) at src/mongo/db/concurrency/lock_manager_defs.h:106&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#18 0x00007f5ef44dc569 in mongo::repl::ReplicationCoordinatorExternalStateImpl::&amp;lt;lambda()&amp;gt;::operator()(void) const (__closure=0x7f5ed50756a0) at src/mongo/base/string_data.h:82&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#19 0x00007f5ef44dc9b7 in mongo::writeConflictRetry&amp;lt;mongo::repl::ReplicationCoordinatorExternalStateImpl::storeLocalConfigDocument(mongo::OperationContext*, const mongo::BSONObj&amp;amp;, bool)::&amp;lt;lambda()&amp;gt; &amp;gt; (f=..., ns=..., opStr=..., opCtx=0x7f5eff786600) at /opt/mongodbtoolchain/revisions/e5348beb43e147b74a40f4ca5fb05a330ea646cf/stow/gcc-v3.Fno/include/c++/8.2.0/bits/unique_ptr.h:342&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#20 mongo::repl::ReplicationCoordinatorExternalStateImpl::storeLocalConfigDocument (this=this@entry=0x7f5ef90cb600, opCtx=&amp;lt;optimized out&amp;gt;, config=owned BSONObj 669 bytes @ 0x7f5efdc47d88 - unprintable or invalid, writeOplog=&amp;lt;optimized out&amp;gt;, writeOplog@entry=false) at src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:585&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#21 0x00007f5ef41ed15b in mongo::repl::ReplicationCoordinatorImpl::_heartbeatReconfigStore (this=0x7f5ef9147800, cbd=..., newConfig=...) at /opt/mongodbtoolchain/revisions/e5348beb43e147b74a40f4ca5fb05a330ea646cf/stow/gcc-v3.Fno/include/c++/8.2.0/bits/unique_ptr.h:342&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thread 52 (Thread 0x7f5ec4c5d700 (LWP 62832)):&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#10 mongo::Interruptible::waitForConditionOrInterrupt&amp;lt;std::unique_lock&amp;lt;mongo::latch_detail::Latch&amp;gt;, mongo::future_details::SharedStateBase::wait(mongo::Interruptible*)::{lambda()#1}&amp;gt;(mongo::stdx::condition_variable&amp;amp;, std::unique_lock&amp;lt;mongo::latch_detail::Latch&amp;gt;&amp;amp;, mongo::future_details::SharedStateBase::wait(mongo::Interruptible*)::{lambda()#1}, mongo::AtomicWord&amp;lt;long&amp;gt;*) (waitTimer=0x0, pred=..., m=..., cv=..., this=0x7f5efe5ee980) at src/mongo/util/interruptible.h:466&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#11 mongo::future_details::SharedStateBase::wait (this=&amp;lt;optimized out&amp;gt;, interruptible=0x7f5efe5ee980) at src/mongo/util/future_impl.h:402&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#12 0x00007f5ef1d592a5 in mongo::future_details::SharedStateHolder&amp;lt;mongo::ReplIndexBuildState::IndexCatalogStats&amp;gt;::waitNoThrow (interruptible=0x7f5efe5ee980, this=&amp;lt;synthetic pointer&amp;gt;) at src/mongo/util/future_impl.h:652&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#13 mongo::SharedSemiFuture&amp;lt;mongo::ReplIndexBuildState::IndexCatalogStats&amp;gt;::waitNoThrow (interruptible=0x7f5efe5ee980, this=&amp;lt;synthetic pointer&amp;gt;) at src/mongo/util/future.h:938&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#14 mongo::IndexBuildsCoordinator::applyCommitIndexBuild (this=&amp;lt;optimized out&amp;gt;, opCtx=opCtx@entry=0x7f5efe5ee980, oplogEntry=...) at src/mongo/db/index_builds_coordinator.cpp:976&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Since the replica set now has a primary, we&apos;d expect the commit point to advance and propagate to the secondary, unblocking the index build. However, because the secondary is stuck while applying oplog entries, its last applied is from a previous term, which means that it &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cce8380c750dc9d45d88665e0e451013177fcd7a/src/mongo/db/repl/topology_coordinator.cpp#L2827-L2846&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;cannot advance its commit point via heartbeats&lt;/a&gt;. The node also doesn&apos;t choose a new sync source for the rest of the test (which is the other way we&apos;d propagate the commit point), although I&apos;m still not sure why (I suspect something is making the primary an ineligible sync source).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1452314">SERVER-50539</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1448741">SERVER-50446</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="997071">SERVER-44563</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1365795">SERVER-48476</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1418522">SERVER-49847</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1361925">SERVER-48398</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1361928">SERVER-48399</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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>Wed, 2 Sep 2020 22:05:47 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 21 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </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>samy.lanka@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy203z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxolhb:</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="4213">Execution Team 2020-09-21</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|hy1mdb:</customfieldvalue>

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