<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:24:13 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-50997] Make ShardRegistry::updateReplSetHosts() refresh synchronously</title>
                <link>https://jira.mongodb.org/browse/SERVER-50997</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47169&quot; title=&quot;Sharding initialization contacts config shard before ShardRegistry updated by RSM, preventing mongos from starting up&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47169&quot;&gt;&lt;del&gt;SERVER-47169&lt;/del&gt;&lt;/a&gt;, the solution to a class of problem was to have the RSM call ShardRegistry::updateReplSetHosts() synchronously.  However, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46202&quot; title=&quot;Implement ShardRegistry on top of ReadThroughCache to make it causally consistent&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46202&quot;&gt;&lt;del&gt;SERVER-46202&lt;/del&gt;&lt;/a&gt; changed the ShardRegistry behaviour such that updateReplSetHosts() no longer incorporates these updates synchronously.  Instead, they are &lt;a href=&quot;https://github.com/mongodb/mongo/blob/5a1953c/src/mongo/s/client/shard_registry.cpp#L168-L182&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;incorporated in the next ShardRegistry refresh&lt;/a&gt;, which is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/5a1953c/src/mongo/s/client/shard_registry.cpp#L394-L411&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;scheduled asynchronously&lt;/a&gt;.  In order to avoid reintroducing the problem solved by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47169&quot; title=&quot;Sharding initialization contacts config shard before ShardRegistry updated by RSM, preventing mongos from starting up&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47169&quot;&gt;&lt;del&gt;SERVER-47169&lt;/del&gt;&lt;/a&gt;, updateReplSetHosts() should wait for this refresh to complete.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1477943">SERVER-50997</key>
            <summary>Make ShardRegistry::updateReplSetHosts() refresh synchronously</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="tommaso.tocci@mongodb.com">Tommaso Tocci</assignee>
                                    <reporter username="kevin.pulo@mongodb.com">Kevin Pulo</reporter>
                        <labels>
                            <label>sharding-wfbf-day</label>
                    </labels>
                <created>Thu, 17 Sep 2020 01:46:22 +0000</created>
                <updated>Fri, 16 Oct 2020 15:12:58 +0000</updated>
                            <resolved>Fri, 16 Oct 2020 15:12:58 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3448928" author="tommaso.tocci" created="Fri, 16 Oct 2020 15:12:58 +0000"  >&lt;p&gt;The depending BF has been fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-51103&quot; title=&quot;RSM calls updateReplSetHosts() with partial connection strings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-51103&quot;&gt;&lt;del&gt;SERVER-51103&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3399683" author="janna.golden" created="Thu, 17 Sep 2020 18:21:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.pulo&quot; class=&quot;user-hover&quot; rel=&quot;kevin.pulo&quot;&gt;kevin.pulo&lt;/a&gt; oh nice catch! I agree - I just looked at the logs in the failure you posted and am seeing a race between a _cloneCollectionIndexesAndOptions getting a ShardNotFound and updating the shard registry:&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;// shard0 starts _cloneCollectionOptionsFromPrimaryShard which will try to target shard1&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.746+0000 | 2020-09-16T07:47:05.743+00:00 D2 COMMAND  21965   [conn49] &quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;test&quot;,&quot;commandArgs&quot;:{&quot;_cloneCollectionOptionsFromPrimaryShard&quot;:&quot;test.fts_diacriticsensitive&quot;,&quot;primaryShard&quot;:&quot;shard-rs1&quot;,&quot;writeConcern&quot;:{&quot;w&quot;:&quot;majority&quot;,&quot;wtimeout&quot;:60000},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;193c858a-fad8-406f-ae66-5f900007fcaf&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242425,&quot;i&quot;:9}},&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;$configTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242425,&quot;i&quot;:9}},&quot;$topologyTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242409,&quot;i&quot;:14}},&quot;$client&quot;:{&quot;application&quot;:{&quot;name&quot;:&quot;MongoDB Shell&quot;},&quot;driver&quot;:{&quot;name&quot;:&quot;MongoDB Internal Client&quot;,&quot;version&quot;:&quot;4.5.0-3164-g0bf3695-patch-5f61b9fe0ae6067c98def4fb&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Red Hat Enterprise Linux Server release 6.2 (Santiago)&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;Kernel 2.6.32-220.el6.x86_64&quot;},&quot;mongos&quot;:{&quot;host&quot;:&quot;ip-10-122-28-132:20007&quot;,&quot;client&quot;:&quot;127.0.0.1:44550&quot;,&quot;version&quot;:&quot;4.5.0-3164-g0bf3695-patch-5f61b9fe0ae6067c98def4fb&quot;}},&quot;$configServerState&quot;:{&quot;opTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242425,&quot;i&quot;:9}},&quot;t&quot;:1}},&quot;$db&quot;:&quot;test&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;&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;// shard0 starts the RSM for shard1 with all 3 nodes&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.746+0000 | 2020-09-16T07:47:05.744+00:00 I  NETWORK  4603701 [ShardRegistry-0] &quot;Starting Replica Set Monitor&quot;,&quot;attr&quot;:{&quot;protocol&quot;:&quot;streamable&quot;,&quot;uri&quot;:&quot;shard-rs1/localhost:20004,localhost:20005,localhost:20006&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;&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;// shard0 hears back from a secondary and marks the others as unknown&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.766+0000 | 2020-09-16T07:47:05.746+00:00 I  NETWORK  4333213 [ReplicaSetMonitor-TaskExecutor] &quot;RSM Topology Change&quot;,&quot;attr&quot;:{&quot;replicaSet&quot;:&quot;shard-rs1&quot;,&quot;newTopologyDescription&quot;:&quot;{ id: \&quot;0a9b4938-3c06-4cd8-951f-ef855136c62c\&quot;, topologyType: \&quot;ReplicaSetNoPrimary\&quot;, servers: { localhost:20004: { address: \&quot;localhost:20004\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20005: { address: \&quot;localhost:20005\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20006: { address: \&quot;localhost:20006\&quot;, topologyVersion: { processId: ObjectId(&apos;5f61c2e2f6d5680adfaa44f8&apos;), counter: 5 }, roundTripTime: 826, lastWriteDate: new Date(1600242425000), opTime: { ts: Timestamp(1600242425, 7), t: 1 }, type: \&quot;RSSecondary\&quot;, minWireVersion: 10, maxWireVersion: 10, me: \&quot;localhost:20006\&quot;, setName: \&quot;shard-rs1\&quot;, setVersion: 3, primary: \&quot;localhost:20004\&quot;, lastUpdateTime: new Date(1600242425746), logicalSessionTimeoutMinutes: 30, hosts: { 0: \&quot;localhost:20004\&quot;, 1: \&quot;localhost:20005\&quot;, 2: \&quot;localhost:20006\&quot; }, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \&quot;shard-rs1\&quot;, compatible: true }&quot;,&quot;previousTopologyDescription&quot;:&quot;{ id: \&quot;0a9b4938-3c06-4cd8-951f-ef855136c62c\&quot;, topologyType: \&quot;Unknown\&quot;, servers: { localhost:20004: { address: \&quot;localhost:20004\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20005: { address: \&quot;localhost:20005\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20006: { address: \&quot;localhost:20006\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, compatible: true }&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;&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;// shard0 updates the shard registry with this info (the host its trying to contact port 20004 is removed)&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.766+0000 | 2020-09-16T07:47:05.747+00:00 I  SHARDING 22732   [ShardRegistry-0] &quot;Updating shard connection string on shard registry&quot;,&quot;attr&quot;:{&quot;shardId&quot;:&quot;shard-rs1&quot;,&quot;newShardConnectionString&quot;:&quot;shard-rs1/localhost:20006&quot;,&quot;oldShardConnectionString&quot;:&quot;shard-rs1/localhost:20004,localhost:20005,localhost:20006&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;&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;// shard0 hears back from 20004 who is primary, and we&apos;ve scheduled an update to the shard registry which has not happened yet&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.766+0000 | 2020-09-16T07:47:05.747+00:00 I  NETWORK  4333213 [ReplicaSetMonitor-TaskExecutor] &quot;RSM Topology Change&quot;,&quot;attr&quot;:{&quot;replicaSet&quot;:&quot;shard-rs1&quot;,&quot;newTopologyDescription&quot;:&quot;{ id: \&quot;0a9b4938-3c06-4cd8-951f-ef855136c62c\&quot;, topologyType: \&quot;ReplicaSetWithPrimary\&quot;, servers: { localhost:20004: { address: \&quot;localhost:20004\&quot;, topologyVersion: { processId: ObjectId(&apos;5f61c2e2d5e7470bb28fa484&apos;), counter: 10 }, roundTripTime: 878, lastWriteDate: new Date(1600242425000), opTime: { ts: Timestamp(1600242425, 8), t: 1 }, type: \&quot;RSPrimary\&quot;, minWireVersion: 10, maxWireVersion: 10, me: \&quot;localhost:20004\&quot;, setName: \&quot;shard-rs1\&quot;, setVersion: 3, electionId: ObjectId(&apos;7fffffff0000000000000001&apos;), primary: \&quot;localhost:20004\&quot;, lastUpdateTime: new Date(1600242425747), logicalSessionTimeoutMinutes: 30, hosts: { 0: \&quot;localhost:20004\&quot;, 1: \&quot;localhost:20005\&quot;, 2: \&quot;localhost:20006\&quot; }, arbiters: {}, passives: {} }, localhost:20005: { address: \&quot;localhost:20005\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20006: { address: \&quot;localhost:20006\&quot;, topologyVersion: { processId: ObjectId(&apos;5f61c2e2f6d5680adfaa44f8&apos;), counter: 5 }, roundTripTime: 826, lastWriteDate: new Date(1600242425000), opTime: { ts: Timestamp(1600242425, 7), t: 1 }, type: \&quot;RSSecondary\&quot;, minWireVersion: 10, maxWireVersion: 10, me: \&quot;localhost:20006\&quot;, setName: \&quot;shard-rs1\&quot;, setVersion: 3, primary: \&quot;localhost:20004\&quot;, lastUpdateTime: new Date(1600242425746), logicalSessionTimeoutMinutes: 30, hosts: { 0: \&quot;localhost:20004\&quot;, 1: \&quot;localhost:20005\&quot;, 2: \&quot;localhost:20006\&quot; }, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \&quot;shard-rs1\&quot;, compatible: true, maxSetVersion: 3, maxElectionId: ObjectId(&apos;7fffffff0000000000000001&apos;) }&quot;,&quot;previousTopologyDescription&quot;:&quot;{ id: \&quot;0a9b4938-3c06-4cd8-951f-ef855136c62c\&quot;, topologyType: \&quot;ReplicaSetNoPrimary\&quot;, servers: { localhost:20004: { address: \&quot;localhost:20004\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20005: { address: \&quot;localhost:20005\&quot;, type: \&quot;Unknown\&quot;, minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, localhost:20006: { address: \&quot;localhost:20006\&quot;, topologyVersion: { processId: ObjectId(&apos;5f61c2e2f6d5680adfaa44f8&apos;), counter: 5 }, roundTripTime: 826, lastWriteDate: new Date(1600242425000), opTime: { ts: Timestamp(1600242425, 7), t: 1 }, type: \&quot;RSSecondary\&quot;, minWireVersion: 10, maxWireVersion: 10, me: \&quot;localhost:20006\&quot;, setName: \&quot;shard-rs1\&quot;, setVersion: 3, primary: \&quot;localhost:20004\&quot;, lastUpdateTime: new Date(1600242425746), logicalSessionTimeoutMinutes: 30, hosts: { 0: \&quot;localhost:20004\&quot;, 1: \&quot;localhost:20005\&quot;, 2: \&quot;localhost:20006\&quot; }, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \&quot;shard-rs1\&quot;, compatible: true }&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;&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;// Update the shard registry&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.766+0000 | 2020-09-16T07:47:05.747+00:00 I  SHARDING 471691  [ReplicaSetMonitor-TaskExecutor] &quot;Updating the shard registry with confirmed replica set&quot;,&quot;attr&quot;:{&quot;connectionString&quot;:&quot;shard-rs1/localhost:20004,localhost:20005,localhost:20006&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;&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.767+0000 | 2020-09-16T07:47:05.748+00:00 I  SHARDING 22732   [ShardRegistry-0] &quot;Updating shard connection string on shard registry&quot;,&quot;attr&quot;:{&quot;shardId&quot;:&quot;shard-rs1&quot;,&quot;newShardConnectionString&quot;:&quot;shard-rs1/localhost:20004,localhost:20005,localhost:20006&quot;,&quot;oldShardConnectionString&quot;:&quot;shard-rs1/localhost:20006&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;&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;// fail with shard not found&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;[ShardedClusterFixture:job0:shard0:node1] 2020-09-16T07:47:05.767+0000 | 2020-09-16T07:47:05.749+00:00 D1 COMMAND  21962   [conn49] &quot;Assertion while executing command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;_cloneCollectionOptionsFromPrimaryShard&quot;,&quot;db&quot;:&quot;test&quot;,&quot;commandArgs&quot;:{&quot;_cloneCollectionOptionsFromPrimaryShard&quot;:&quot;test.fts_diacriticsensitive&quot;,&quot;primaryShard&quot;:&quot;shard-rs1&quot;,&quot;writeConcern&quot;:{&quot;w&quot;:&quot;majority&quot;,&quot;wtimeout&quot;:60000},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;193c858a-fad8-406f-ae66-5f900007fcaf&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242425,&quot;i&quot;:9}},&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;$configTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242425,&quot;i&quot;:9}},&quot;$topologyTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242409,&quot;i&quot;:14}},&quot;$client&quot;:{&quot;application&quot;:{&quot;name&quot;:&quot;MongoDB Shell&quot;},&quot;driver&quot;:{&quot;name&quot;:&quot;MongoDB Internal Client&quot;,&quot;version&quot;:&quot;4.5.0-3164-g0bf3695-patch-5f61b9fe0ae6067c98def4fb&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Red Hat Enterprise Linux Server release 6.2 (Santiago)&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;Kernel 2.6.32-220.el6.x86_64&quot;},&quot;mongos&quot;:{&quot;host&quot;:&quot;ip-10-122-28-132:20007&quot;,&quot;client&quot;:&quot;127.0.0.1:44550&quot;,&quot;version&quot;:&quot;4.5.0-3164-g0bf3695-patch-5f61b9fe0ae6067c98def4fb&quot;}},&quot;$configServerState&quot;:{&quot;opTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1600242425,&quot;i&quot;:9}},&quot;t&quot;:1}},&quot;$db&quot;:&quot;test&quot;},&quot;error&quot;:&quot;ShardNotFound: No shard found for host: localhost:20004&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;The time for the logs for updating the shard registry and the command throwing ShardNotFound are at the same time - 2020-09-16T07:47:05.767. I think we&apos;ll want to make this update synchronous again!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1295438">SERVER-47169</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1152467">SERVER-46202</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>2.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Sep 2020 18:21:57 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 16 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>janna.golden@mongodb.com</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
            <customfieldvalue>tommaso.tocci@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy6gw7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxswz3:</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="4254">Sharding 2020-10-19</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|hy635j:</customfieldvalue>

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