<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:32:59 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-54231] Resharding can leave behind local collection on former primary shard that doesn&apos;t own any chunks</title>
                <link>https://jira.mongodb.org/browse/SERVER-54231</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h6&gt;&lt;a name=&quot;Originalsummary&quot;&gt;&lt;/a&gt;Original summary&lt;/h6&gt;

&lt;p&gt;resharding_allowMigrations.js fails if primary shard of &apos;reshardingDb&apos; is not the first shard&lt;/p&gt;

&lt;h6&gt;&lt;a name=&quot;Originaldescription&quot;&gt;&lt;/a&gt;Original description&lt;/h6&gt;

&lt;p&gt;I&apos;ve discovered this while working on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54230&quot; title=&quot;Stop returning sorted shard IDs vector from ShardRegistry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54230&quot;&gt;&lt;del&gt;SERVER-54230&lt;/del&gt;&lt;/a&gt;, the problem is that if we randomly choose the primary shard of newly created database the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8baad6fdb799b24bbc999089773698a10bfeaecc/jstests/sharding/resharding_allowMigrations.js#L22&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;resharding_allowMigrations.js&lt;/a&gt; starts failing.&lt;/p&gt;

&lt;p&gt;More specifically I&apos;ve discovered that this happen only if the primary shard is chosen among one of the donor shards that is not shard-0.&lt;/p&gt;

&lt;p&gt;&#160;&lt;a href=&quot;https://logkeeper.mongodb.org/lobster/build/2254d45078bea89d33e18628c973158f/test/6019b9059041300dfb9c626b#bookmarks=0%2C12578&amp;amp;l=1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;This is an example of a failing run on evg.&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1609826">SERVER-54231</key>
            <summary>Resharding can leave behind local collection on former primary shard that doesn&apos;t own any chunks</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="pierlauro.sciarelli@mongodb.com">Pierlauro Sciarelli</assignee>
                                    <reporter username="tommaso.tocci@mongodb.com">Tommaso Tocci</reporter>
                        <labels>
                            <label>PM-234-M3</label>
                            <label>PM-234-T-lifecycle</label>
                    </labels>
                <created>Wed, 3 Feb 2021 07:59:57 +0000</created>
                <updated>Sun, 29 Oct 2023 21:58:04 +0000</updated>
                            <resolved>Thu, 7 Oct 2021 18:04:01 +0000</resolved>
                                    <version>5.0.2</version>
                                    <fixVersion>5.2.0</fixVersion>
                    <fixVersion>5.0.4</fixVersion>
                    <fixVersion>5.1.0-rc1</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4119657" author="xgen-internal-githook" created="Tue, 12 Oct 2021 18:17:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Pierlauro Sciarelli&apos;, &apos;email&apos;: &apos;pierlauro.sciarelli@mongodb.com&apos;, &apos;username&apos;: &apos;pierlauro&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54231&quot; title=&quot;Resharding can leave behind local collection on former primary shard that doesn&amp;#39;t own any chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54231&quot;&gt;&lt;del&gt;SERVER-54231&lt;/del&gt;&lt;/a&gt; Resharding must not leave stale collection catalog entries&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e252d1b49304379ec1e04fe8ec3f10619fdfa476&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e252d1b49304379ec1e04fe8ec3f10619fdfa476&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4116098" author="xgen-internal-githook" created="Mon, 11 Oct 2021 15:56:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Pierlauro Sciarelli&apos;, &apos;email&apos;: &apos;pierlauro.sciarelli@mongodb.com&apos;, &apos;username&apos;: &apos;pierlauro&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54231&quot; title=&quot;Resharding can leave behind local collection on former primary shard that doesn&amp;#39;t own any chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54231&quot;&gt;&lt;del&gt;SERVER-54231&lt;/del&gt;&lt;/a&gt; Resharding must not leave stale collection catalog entries&lt;br/&gt;
Branch: v5.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/40cb50a010db2715fd9745ede02ce0cc6f8bbc34&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/40cb50a010db2715fd9745ede02ce0cc6f8bbc34&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4110920" author="xgen-internal-githook" created="Thu, 7 Oct 2021 17:39:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Pierlauro Sciarelli&apos;, &apos;email&apos;: &apos;pierlauro.sciarelli@mongodb.com&apos;, &apos;username&apos;: &apos;pierlauro&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54231&quot; title=&quot;Resharding can leave behind local collection on former primary shard that doesn&amp;#39;t own any chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54231&quot;&gt;&lt;del&gt;SERVER-54231&lt;/del&gt;&lt;/a&gt; Resharding must not leave stale collection catalog entries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/955e48addd93a25ad16c1b6df55eab66ec917a5f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/955e48addd93a25ad16c1b6df55eab66ec917a5f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4088656" author="pierlauro.sciarelli" created="Tue, 28 Sep 2021 10:16:02 +0000"  >&lt;p&gt;&lt;cite&gt;If we wanted to make a more narrowly scoped change to resharding, then I think we would want to add logic to the ReshardingCoordinator to broadcast a collection drop to all shards (not just those which own chunks for the sharded collection under the old key pattern) by the source UUID.&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;This can now be done by calling the &lt;tt&gt;_shardsvrDropCollectionIfUUIDNotMatching&lt;/tt&gt; implemented under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-60007&quot; title=&quot;Implement command to drop collection if its UUID differs from the expected&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-60007&quot;&gt;&lt;del&gt;SERVER-60007&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;I believe changing the movePrimary and moveChunk behavior would the preferred longer-term solution here.&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;If we ever want to cleanup orphaned collection catalog entries, in addition to those changes we may also have to call the new command for cleaning up pre-existing garbage. I believe a reasonable plan would be:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Change &lt;tt&gt;movePrimary&lt;/tt&gt; and &lt;tt&gt;moveChunk&lt;/tt&gt; behaviors to cleanup local collection catalog, starting from &lt;tt&gt;LTS XYZ.0&lt;/tt&gt; .&lt;/li&gt;
	&lt;li&gt;Add an FCV step broadcasting &lt;tt&gt;_shardsvrDropCollectionIfUUIDNotMatching&lt;/tt&gt; for every sharded collection upon upgrading to version &lt;tt&gt;XYZ.0&lt;/tt&gt; .&lt;/li&gt;
	&lt;li&gt;Change &lt;tt&gt;shardCollection&lt;/tt&gt; to broadcast local drops to all shards before starting: to cleanup pre-existing garbage for a collection that was dropped but not recreated before upgrading to &lt;tt&gt;XYZ.0&lt;/tt&gt; (so that would be missed by the FCV broadcasts) .&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4047249" author="max.hirschhorn@10gen.com" created="Thu, 9 Sep 2021 13:49:19 +0000"  >&lt;blockquote&gt;
&lt;p&gt;What does chunk migration do on the donor shard when it is the last chunk for the sharded collection? Does the collection catalog entry get dropped on the donor shard?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;To answer my question from before, the collection catalog entry doesn&apos;t get dropped part of donating the shard&apos;s last chunk for the collection. I believe changing the movePrimary and moveChunk behavior would the preferred longer&amp;#45;term solution here.&lt;/p&gt;

&lt;p&gt;If we wanted to make a more narrowly scoped change to resharding, then I think we would want to add logic to the ReshardingCoordinator to broadcast a collection drop to all shards (not just those which own chunks for the sharded collection under the old key pattern) by the source UUID. This could be done &lt;a href=&quot;https://github.com/mongodb/mongo/blob/5bf626888365254c28d29da5dd64281f2b23c417/src/mongo/db/s/resharding/resharding_coordinator_service.cpp#L1700-L1701&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;wholly after&lt;/a&gt; the participants have dropped/renamed the collection being resharded to avoid needing to think about what happens if the DonorStateMachine or RecipientStateMachine attempts to drop/rename the collection when the drop command comes in from the config server primary.&lt;/p&gt;</comment>
                            <comment id="3598908" author="max.hirschhorn@10gen.com" created="Thu, 4 Feb 2021 12:51:21 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Max Hirschhorn, the DDL project will make all DDL serialise with each other, so there should never be an attempt to run drop concurrently with a rename. Are you referring to the case where a command, which was &quot;stuck&quot; in a router somewhere comes much later?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev&quot;&gt;kaloian.manassiev&lt;/a&gt;, no, the sequence of operations doesn&apos;t involve any concurrent DDL operations. The issue described in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54231?focusedCommentId=3597234&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3597234&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;my earlier comment&lt;/a&gt; is how a former primary shard retains the collection catalog entry even when it no longer owns chunks for the sharded collection.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54279&quot; title=&quot;Primary shard may end up with inconsistent collection catalog entry after resharding&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54279&quot;&gt;&lt;del&gt;SERVER-54279&lt;/del&gt;&lt;/a&gt; will solve part of the issue for the &lt;em&gt;current&lt;/em&gt; primary shard by having it be considered a recipient shard even when it doesn&apos;t own any chunks for the sharded collection. But additional work is needed in this ticket to solve the issue for &lt;em&gt;former&lt;/em&gt; primary shards. Tommaso had said the drop collection command in the DDL project was cleaning up this &quot;garbage state&quot; by broadcasting the drop collection command to all shards and not just all shards which own chunks for the sharded collection.&lt;/p&gt;

&lt;p&gt;Tommaso had pointed out that &lt;a href=&quot;https://github.com/mongodb/mongo/blob/827808d8bbd5af26a72f214ef3890c3581ca2557/src/mongo/db/s/move_primary_source_manager.cpp#L343-L347&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the movePrimary command won&apos;t drop any sharded collections on the former primary shard&lt;/a&gt; even when it no longer owns chunks for them. What does chunk migration do on the donor shard when it is the last chunk for the sharded collection? Does the collection catalog entry get dropped on the donor shard?&lt;/p&gt;</comment>
                            <comment id="3598746" author="kaloian.manassiev" created="Thu, 4 Feb 2021 09:38:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt;, the DDL project will make all DDL serialise with each other, so there should never be an attempt to run drop concurrently with a rename. Are you referring to the case where a command, which was &quot;stuck&quot; in a router somewhere comes much later?&lt;/p&gt;</comment>
                            <comment id="3597936" author="max.hirschhorn@10gen.com" created="Wed, 3 Feb 2021 20:42:14 +0000"  >&lt;p&gt;The DDL project is addressing this by having the drop collection command broadcasted to all shards rather than only shards which own a chunk for the collection. One thought would be to have the coordinator broadcast such a drop command.&lt;/p&gt;

&lt;p&gt;This drop collection command would need to use the collection UUID rather than its namespace string to avoid an ordering dependency with the collection rename on recipient shards to install the temporary resharding collection as the new sharded collection.&lt;/p&gt;</comment>
                            <comment id="3597234" author="max.hirschhorn@10gen.com" created="Wed, 3 Feb 2021 16:47:40 +0000"  >&lt;p&gt;I discussed this issue with Tommaso over Zoom. The resharding_allowMigrations.js test is failing because the donor1 shard still has the sharded collection on it despite the resharding operation having succeeded.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;donor1 is primary shard for the &quot;reshardingDb&quot; database.&lt;/li&gt;
	&lt;li&gt;ReshardingTest#createShardedCollection() is called to create a new sharded collection.
	&lt;ul&gt;
		&lt;li&gt;donor1 creates the collection because it is the primary shard. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8baad6fdb799b24bbc999089773698a10bfeaecc/jstests/sharding/resharding_allowMigrations.js#L22&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;It won&apos;t actually own any chunks for the collection&lt;/a&gt;. donor1 therefore won&apos;t ever create a DonorStateMachine for the resharding operation.&lt;/li&gt;
		&lt;li&gt;donor0 creates the collection because it owns chunks for the now-sharded collection.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;recipient0 is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8baad6fdb799b24bbc999089773698a10bfeaecc/jstests/sharding/libs/resharding_test_fixture.js#L158&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;made the primary shard from ReshardingTest#createShardedCollection()&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;reshardCollection is run.&lt;/li&gt;
	&lt;li&gt;donor0 drops the existing sharded collection.&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;donor1 never drops the existing sharded collection it had leftover.&lt;/b&gt; The metadata for the sharded collection on donor1 is also inconsistent because the resharding operation changed the collection&apos;s UUID.&lt;/li&gt;
&lt;/ol&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 Error: [null] != [{&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 	&quot;name&quot; : &quot;coll&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 	&quot;type&quot; : &quot;collection&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 	&quot;options&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 	},&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 	&quot;info&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.277+0000 		&quot;readOnly&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 		&quot;uuid&quot; : UUID(&quot;b19994b2-cb87-4ef6-aa57-9ea7e72c30a8&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 	},&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 	&quot;idIndex&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 		&quot;v&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 		&quot;key&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 			&quot;_id&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 		},&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 		&quot;name&quot; : &quot;_id_&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 	}&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 }] are not equal : collection exists on shard1-donor1 despite resharding having succeeded :&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 doassert@src/mongo/shell/assert.js:20:14&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 assert.eq@src/mongo/shell/assert.js:179:9&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 _checkDonorPostState@jstests/sharding/libs/resharding_test_fixture.js:468:13&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 _checkPostState@jstests/sharding/libs/resharding_test_fixture.js:383:13&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 _checkConsistencyAndPostState@jstests/sharding/libs/resharding_test_fixture.js:349:13&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 withReshardingInBackground@jstests/sharding/libs/resharding_test_fixture.js:250:9&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 @jstests/sharding/resharding_allowMigrations.js:26: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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 @jstests/sharding/resharding_allowMigrations.js:10: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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.278+0000 failed to load: jstests/sharding/resharding_allowMigrations.js&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;[js_test:resharding_allowMigrations] 2021-02-02T20:42:14.279+0000 exiting with code -3&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;&lt;a href=&quot;https://logkeeper.mongodb.org/lobster/build/2254d45078bea89d33e18628c973158f/test/6019b9059041300dfb9c626b#bookmarks=0%2C4366%2C12578&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logkeeper.mongodb.org/lobster/build/2254d45078bea89d33e18628c973158f/test/6019b9059041300dfb9c626b#bookmarks=0%2C4366%2C12578&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3596636" author="max.hirschhorn@10gen.com" created="Wed, 3 Feb 2021 12:25:44 +0000"  >&lt;blockquote&gt;
&lt;p&gt;resharding_allowMigrations.js fails if primary shard of &apos;reshardingDB&apos; is not first shard&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tommaso.tocci&quot; class=&quot;user-hover&quot; rel=&quot;tommaso.tocci&quot;&gt;tommaso.tocci&lt;/a&gt;, I&apos;m not sure what to make of this ticket which mentions resharding and is linked to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54230&quot; title=&quot;Stop returning sorted shard IDs vector from ShardRegistry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54230&quot;&gt;&lt;del&gt;SERVER-54230&lt;/del&gt;&lt;/a&gt;. Is this test going to fail as a result of you pushing the changes in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54230&quot; title=&quot;Stop returning sorted shard IDs vector from ShardRegistry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54230&quot;&gt;&lt;del&gt;SERVER-54230&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;I&apos;d like to also mention that &lt;a href=&quot;https://github.com/mongodb/mongo/blob/26a3e7bc2a773b992c51808577ae999fc0e66d0f/jstests/sharding/libs/resharding_test_fixture.js#L158&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the ReshardingTest fixture runs the movePrimary command&lt;/a&gt; so the primary shard within the test is always the same.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1875908">SERVER-60007</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="1609825">SERVER-54230</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1611642">SERVER-54279</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2254288">SERVER-73686</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1787046">SERVER-57759</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="746260">SERVER-40859</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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="22495"><![CDATA[v5.1]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.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, 3 Feb 2021 12:25:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 17 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-60007'>SERVER-60007</a></s>]]></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-234</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 17 weeks, 1 day 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>pierlauro.sciarelli@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|hysvev:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyv0rb:</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="5181">Sharding EMEA 2021-09-20</customfieldvalue>
    <customfieldvalue id="5304">Sharding EMEA 2021-10-04</customfieldvalue>
    <customfieldvalue id="5425">Sharding EMEA 2021-10-18</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Shuffle the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8baad6fdb799b24bbc999089773698a10bfeaecc/src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp#L65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;allShardIds vector here&lt;/a&gt; in selectShardForNewDatabase() before to cycle on it.&lt;br/&gt;
Simply remove the const specifier of the vector and add:&lt;/p&gt;


&lt;p&gt;std::random_shuffle(allShardIds.begin(), allShardIds.end());&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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|hyshnz:</customfieldvalue>

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