<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:41:22 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-16539] Cannot add shard due to mongos expanding the shard host to include all members</title>
                <link>https://jira.mongodb.org/browse/SERVER-16539</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Adding a large (45 member) replica set as a shard fails because every discovered node is used in the key. If you add a smaller replica set and expand it later, it don&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;mongos&amp;gt; db.runCommand({addShard:&quot;bigRepl1/ec2-54-175-35-158.compute-1.amazonaws.com:27017&quot;, name:&quot;ShardBigRepl1&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;	&quot;ok&quot; : 0,&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;	&quot;errmsg&quot; : &quot;Btree::insert: key too large to index, failing config.shards.$host_1 2163 { : \&quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...\&quot; }&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;}&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;Config Server:&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;2014-12-12T21:17:37.670+0000 D WRITE    [conn11]  Caught Assertion in insert, continuing  :: caused by :: Btree::insert: key too large to index, failing config.shards.$host_1 2163 { : &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&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;2014-12-12T21:17:37.670+0000 I WRITE    [conn11] insert config.shards query: { _id: &quot;ShardBigRepl1&quot;, host: &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&quot; } ninserted:0 keyUpdates:0 exception: Btree::insert: key too large to index, failing config.shards.$host_1 2163 { : &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&quot; } code:17280 numYields:0  0ms&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;2014-12-12T21:17:37.670+0000 I QUERY    [conn11] command config.$cmd command: insert { insert: &quot;shards&quot;, documents: [ { _id: &quot;ShardBigRepl1&quot;, host: &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&quot; } ] } ntoreturn:1 keyUpdates:0 numYields:0  reslen:351 0ms&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;mongos log:&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;2014-12-12T21:17:37.667+0000 I SHARDING [conn1] going to add shard: { _id: &quot;ShardBigRepl1&quot;, host: &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&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;2014-12-12T21:17:37.670+0000 I SHARDING [conn1] error adding shard: { _id: &quot;ShardBigRepl1&quot;, host: &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&quot; } err: Btree::insert: key too large to index, failing config.shards.$host_1 2163 { : &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&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;2014-12-12T21:17:37.670+0000 I COMMAND  [conn1] addshard request { addShard: &quot;bigRepl1/ec2-54-175-35-158.compute-1.amazonaws.com:27017&quot;, name: &quot;ShardBigRepl1&quot; } failed: Btree::insert: key too large to index, failing config.shards.$host_1 2163 { : &quot;bigRepl1/ec2-54-165-103-121.compute-1.amazonaws.com:27017,ec2-54-165-239-161.compute-1.amazonaws.com:27017,ec2-54-165-41-0.compute-1.amazonaws.com:270...&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;Interestingly, after the shard fails to add, the ReplicaSetMonitorWatcher thread still polls that replicaset&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;2014-12-12T21:17:47.652+0000 D NETWORK  [ReplicaSetMonitorWatcher] checking replica set: bigRepl1&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;2014-12-12T21:17:47.652+0000 D NETWORK  [ReplicaSetMonitorWatcher] creating new connection to:ec2-54-175-35-190.compute-1.amazonaws.com:27017&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;2014-12-12T21:17:47.653+0000 D COMMAND  [ConnectBG] BackgroundJob starting: ConnectBG&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;2014-12-12T21:17:47.655+0000 D NETWORK  [ReplicaSetMonitorWatcher] connected to server ec2-54-175-35-190.compute-1.amazonaws.com:27017 (10.93.20.167)&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;2014-12-12T21:17:47.655+0000 D NETWORK  [ReplicaSetMonitorWatcher] connected connection!&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;2014-12-12T21:17:47.655+0000 D SHARDING [ReplicaSetMonitorWatcher] checking wire version of new connection ec2-54-175-35-190.compute-1.amazonaws.com:27017 (10.93.20.167)&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;2014-12-12T21:17:47.658+0000 D NETWORK  [ReplicaSetMonitorWatcher] Updating host ec2-54-175-35-190.compute-1.amazonaws.com:27017 based on ismaster reply: { setName: &quot;bigRepl1&quot;, setVersion: 1, ismaster: false, secondary: true, hosts: [ &quot;ec2-54-175-35-158.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-29-82.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-24-203.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-179.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-165-41-0.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-32-37.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-34-65.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-22-74.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-24-188.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-232.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-98.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-33-79.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-27-176.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-32-80.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-38-136.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-41-114.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-32-125.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-165-239-161.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-41-209.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-172-133-172.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-165-103-121.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-184.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-41-193.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-38-134.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-29-84.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-29-228.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-33-122.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-107.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-29-83.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-32-139.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-28-154.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-26-165.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-24-4.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-24-9.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-25-247.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-33-71.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-39-18.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-190.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-100.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-38-75.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-174-77-58.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-28-22.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-36-50.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-147.compute-1.amazonaws.com:27017&quot;, &quot;ec2-54-175-35-141.compute-1.amazonaws.com:27017&quot; ], primary: &quot;ec2-54-175-35-158.compute-1.amazonaws.com:27017&quot;, me: &quot;ec2-54-175-35-190.compute-1.amazonaws.com:27017&quot;, rbid: 1475283265, maxBsonObjectSize: 16777216, maxMessageSizeBytes: 48000000, maxWriteBatchSize: 1000, localTime: new Date(1418419067661), maxWireVersion: 3, minWireVersion: 0, ok: 1.0 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="174354">SERVER-16539</key>
            <summary>Cannot add shard due to mongos expanding the shard host to include all members</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="mira.carey@mongodb.com">Mira Carey</assignee>
                                    <reporter username="michael.grundy">Michael Grundy</reporter>
                        <labels>
                            <label>28qa</label>
                    </labels>
                <created>Fri, 12 Dec 2014 21:54:21 +0000</created>
                <updated>Fri, 21 Jun 2019 20:58:43 +0000</updated>
                            <resolved>Fri, 21 Jun 2019 14:46:40 +0000</resolved>
                                    <version>2.8.0-rc2</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>19</watches>
                                                                                                                <comments>
                            <comment id="2293655" author="jason.carey" created="Fri, 21 Jun 2019 20:58:43 +0000"  >&lt;p&gt;We&apos;ve closed this wontfix, both because:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;I&apos;m unsure if this is a problem any longer.  The original problem had to do with limits on indexed value size, and we no longer have those limits&lt;/li&gt;
	&lt;li&gt;it&apos;s been 5 years without a fix and we&apos;ve been able to avoid addressing this.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;If you still encounter this issue, feel free to file a new ticket&lt;/p&gt;</comment>
                            <comment id="1052796" author="schwerin" created="Tue, 6 Oct 2015 18:08:56 +0000"  >&lt;p&gt;I believe that the index on the host field was put in as a way to avoid adding the same host as multiple shards. However, this is easily circumvented with cnames, or in the case of replica sets, by rearranging the seed list orders, since they are not canonical. I think it would be safe and advisable to drop this index, and if we want to avoid double-adding the same replica set as multiple shards, we should address that problem more comprehensively.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 15 Dec 2014 03:55:05 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 33 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>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>michael.grundy</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlgpb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>152762</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlmdb:</customfieldvalue>

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