<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:36:42 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-55519] Investigate missing _id index during collection cloning in tenant migration</title>
                <link>https://jira.mongodb.org/browse/SERVER-55519</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="1659128">SERVER-55519</key>
            <summary>Investigate missing _id index during collection cloning in tenant migration</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="3">Duplicate</resolution>
                                        <assignee username="lingzhi.deng@mongodb.com">Lingzhi Deng</assignee>
                                    <reporter username="lingzhi.deng@mongodb.com">Lingzhi Deng</reporter>
                        <labels>
                            <label>pm-1791_non-cloud-blocking</label>
                            <label>pm-1791_other_required</label>
                            <label>post-rc0</label>
                    </labels>
                <created>Thu, 25 Mar 2021 16:13:52 +0000</created>
                <updated>Wed, 5 May 2021 13:27:22 +0000</updated>
                            <resolved>Wed, 5 May 2021 13:27:22 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3745013" author="lingzhi.deng" created="Wed, 28 Apr 2021 19:13:09 +0000"  >&lt;p&gt;Looks like this is a dup of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56002&quot; title=&quot;listIndexes can read partial state from renameCollection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56002&quot;&gt;&lt;del&gt;SERVER-56002&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3724132" author="lingzhi.deng" created="Mon, 19 Apr 2021 02:09:25 +0000"  >&lt;p&gt;Based on this &lt;a href=&quot;https://logkeeper.mongodb.org/lobster/build/ac005fd0805ddd85eb0f64538548082c/test/607b94c7be07c462ac008925#bookmarks=0%2C96%2C633%2C634%2C635%2C639%2C640%2C641%2C642%2C644%2C645%2C646%2C647%2C648%2C649%2C650%2C663%2C664%2C665%2C666%2C667%2C1134%2C1135%2C1288&amp;amp;f~=000~35c915f7-f9be-44fc-9f14-6ced79d97481&amp;amp;f~=000~Found%20empty%20%27_id%27%20index%20spec&amp;amp;f~=100~09549bd6-e57a-47e6-b302-07a4355011a7&amp;amp;f~=000~tenantMigrationTenantId_test.jstests_or3&amp;amp;f~=000~j2%3Ars1%3An0&amp;amp;f~=000~j2%3Ars0%3An1&amp;amp;l=1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;log&lt;/a&gt;:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// Recipient decided to clone tenantMigrationTenantId_test.jstests_or3 with uuid 09549bd6-e57a-47e6-b302-07a4355011a7&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;[j2:rs1:n0] | 2021-04-18T02:09:13.150+00:00 D1 TENANT_M 21069   [TenantMigrationRecipientService-0] &quot;Cloner running stage&quot;,&quot;attr&quot;:{&quot;cloner&quot;:&quot;TenantDatabaseCloner&quot;,&quot;stage&quot;:&quot;listCollections&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;[j2:rs1:n0] | 2021-04-18T02:09:13.151+00:00 D2 TENANT_M 4881603 [TenantMigrationRecipientService-0] &quot;Allowing cloning of collectionInfo&quot;,&quot;attr&quot;:{&quot;info&quot;:{&quot;name&quot;:&quot;jstests_or3&quot;,&quot;type&quot;:&quot;collection&quot;,&quot;options&quot;:{},&quot;info&quot;:{&quot;readOnly&quot;:false,&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;09549bd6-e57a-47e6-b302-07a4355011a7&quot;}},&quot;idIndex&quot;:{&quot;v&quot;:2,&quot;key&quot;:{&quot;_id&quot;:1},&quot;name&quot;:&quot;_id_&quot;}},&quot;db&quot;:&quot;tenantMigrationTenantId_test&quot;,&quot;tenantId&quot;:&quot;tenantMigrationTenantId&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;[j2:rs1:n0] | 2021-04-18T02:09:13.151+00:00 D1 TENANT_M 21072   [TenantMigrationRecipientService-0] &quot;Cloner finished running stage&quot;,&quot;attr&quot;:{&quot;cloner&quot;:&quot;TenantDatabaseCloner&quot;,&quot;stage&quot;:&quot;listCollections&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;[j2:rs1:n0] | 2021-04-18T02:09:13.152+00:00 D1 TENANT_M 21069   [TenantMigrationRecipientService-0] &quot;Cloner running stage&quot;,&quot;attr&quot;:{&quot;cloner&quot;:&quot;TenantCollectionCloner&quot;,&quot;stage&quot;:&quot;count&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;[j2:rs1:n0] | 2021-04-18T02:09:13.155+00:00 D1 TENANT_M 21072   [TenantMigrationRecipientService-0] &quot;Cloner finished running stage&quot;,&quot;attr&quot;:{&quot;cloner&quot;:&quot;TenantCollectionCloner&quot;,&quot;stage&quot;:&quot;count&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;[j2:rs1:n0] | 2021-04-18T02:09:13.155+00:00 D1 TENANT_M 21069   [TenantMigrationRecipientService-0] &quot;Cloner running stage&quot;,&quot;attr&quot;:{&quot;cloner&quot;:&quot;TenantCollectionCloner&quot;,&quot;stage&quot;:&quot;checkIfDonorCollectionIsEmpty&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;// Donor dropped the same collection&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;[j2:rs0:n1] | 2021-04-18T02:09:13.155+00:00 I  COMMAND  518070  [conn51] &quot;CMD: drop&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&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;[j2:rs0:n1] | 2021-04-18T02:09:13.155+00:00 I  STORAGE  20314   [conn51] &quot;dropCollection: storage engine will take ownership of drop-pending collection&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&quot;,&quot;uuid&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;09549bd6-e57a-47e6-b302-07a4355011a7&quot;}},&quot;dropOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:0,&quot;i&quot;:0}},&quot;t&quot;:-1},&quot;commitTimestamp&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:0,&quot;i&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;[j2:rs0:n1] | 2021-04-18T02:09:13.155+00:00 I  STORAGE  20318   [conn51] &quot;Finishing collection drop&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&quot;,&quot;uuid&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;09549bd6-e57a-47e6-b302-07a4355011a7&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;[j2:rs0:n1] | 2021-04-18T02:09:13.156+00:00 I  STORAGE  22206   [conn51] &quot;Deferring table drop for index&quot;,&quot;attr&quot;:{&quot;index&quot;:&quot;_id_&quot;,&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&quot;,&quot;uuid&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;09549bd6-e57a-47e6-b302-07a4355011a7&quot;}},&quot;ident&quot;:&quot;index-56-2496369000462074825&quot;,&quot;commitTimestamp&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1618711753,&quot;i&quot;: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;[j2:rs0:n1] | 2021-04-18T02:09:13.156+00:00 I  STORAGE  22214   [conn51] &quot;Deferring table drop for collection&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&quot;,&quot;ident&quot;:&quot;collection-55-2496369000462074825&quot;,&quot;commitTimestamp&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1618711753,&quot;i&quot;: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;&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;// Recipient failed with &quot;no _id index&quot; because the collection didn&apos;t exist on the donor after the drop above&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;[j2:rs1:n0] | 2021-04-18T02:09:13.165+00:00 W  TENANT_M 4884503 [TenantMigrationRecipientService-0] &quot;No indexes found for collection while cloning&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&quot;,&quot;uuid&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;09549bd6-e57a-47e6-b302-07a4355011a7&quot;}},&quot;source&quot;:&quot;localhost:20501&quot;,&quot;tenantId&quot;:&quot;tenantMigrationTenantId&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;[j2:rs1:n0] | 2021-04-18T02:09:13.165+00:00 I  TENANT_M 21077   [TenantMigrationRecipientService-0] &quot;Non-retryable error occurred during cloner stage&quot;,&quot;attr&quot;:{&quot;cloner&quot;:&quot;TenantCollectionCloner&quot;,&quot;stage&quot;:&quot;listIndexes&quot;,&quot;error&quot;:{&quot;code&quot;:20,&quot;codeName&quot;:&quot;IllegalOperation&quot;,&quot;errmsg&quot;:&quot;Found empty &apos;_id&apos; index spec but the collection is not specified with &apos;autoIndexId&apos; as false, tenantId: tenantMigrationTenantId, namespace: tenantMigrationTenantId_test.jstests_or3&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;[j2:rs1:n0] | 2021-04-18T02:09:13.165+00:00 E  TENANT_M 4881601 [TenantMigrationRecipientService-0] &quot;Tenant collection clone failed&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;tenantMigrationTenantId_test.jstests_or3&quot;,&quot;error&quot;:&quot;IllegalOperation: Found empty &apos;_id&apos; index spec but the collection is not specified with &apos;autoIndexId&apos; as false, tenantId: tenantMigrationTenantId, namespace: tenantMigrationTenantId_test.jstests_or3&quot;,&quot;tenantId&quot;:&quot;tenantMigrationTenantId&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;[j2:rs1:n0] | 2021-04-18T02:09:13.165+00:00 W  TENANT_M 4881501 [TenantMigrationRecipientService-0] &quot;Tenant migration database clone failed&quot;,&quot;attr&quot;:{&quot;dbName&quot;:&quot;tenantMigrationTenantId_test&quot;,&quot;dbNumber&quot;:1,&quot;totalDbs&quot;:1,&quot;error&quot;:&quot;IllegalOperation: IllegalOperation: Error cloning collection &apos;tenantMigrationTenantId_test.jstests_or3&apos; :: caused by :: Found empty &apos;_id&apos; index spec but the collection is not specified with &apos;autoIndexId&apos; as false, tenantId: tenantMigrationTenantId, namespace: tenantMigrationTenantId_test.jstests_or3&quot;,&quot;tenantId&quot;:&quot;tenantMigrationTenantId&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;[j2:rs1:n0] | 2021-04-18T02:09:13.165+00:00 I  TENANT_M 4878501 [TenantMigrationRecipientService-0] &quot;Tenant migration recipient instance: Data sync completed.&quot;,&quot;attr&quot;:{&quot;tenantId&quot;:&quot;tenantMigrationTenantId&quot;,&quot;migrationId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;35c915f7-f9be-44fc-9f14-6ced79d97481&quot;}},&quot;error&quot;:{&quot;code&quot;:20,&quot;codeName&quot;:&quot;IllegalOperation&quot;,&quot;errmsg&quot;:&quot;IllegalOperation: Error cloning collection &apos;tenantMigrationTenantId_test.jstests_or3&apos; :: caused by :: Found empty &apos;_id&apos; index spec but the collection is not specified with &apos;autoIndexId&apos; as false, tenantId: tenantMigrationTenantId, namespace: tenantMigrationTenantId_test.jstests_or3&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;    raise errors.ServerFailure(&quot;Tenant migration &apos;&quot; + str(migration_opts.migration_id) +&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;buildscripts.resmokelib.errors.ServerFailure: Tenant migration &apos;35c915f7-f9be-44fc-9f14-6ced79d97481&apos; with donor replica set &apos;rs0&apos; aborted due to an error: {&apos;state&apos;: &apos;aborted&apos;, &apos;abortReason&apos;: {&apos;code&apos;: 20, &apos;codeName&apos;: &apos;IllegalOperation&apos;, &apos;errmsg&apos;: &quot;Tenant migration recipient command failed :: caused by :: IllegalOperation: Error cloning collection &apos;tenantMigrationTenantId_test.jstests_or3&apos; :: caused by :: Found empty &apos;_id&apos; index spec but the collection is not specified with &apos;autoIndexId&apos; as false, tenantId: tenantMigrationTenantId, namespace: tenantMigrationTenantId_test.jstests_or3&quot;}, &apos;ok&apos;: 1.0, &apos;$clusterTime&apos;: {&apos;clusterTime&apos;: Timestamp(1618711753, 18), &apos;signature&apos;: {&apos;hash&apos;: b&apos;\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00&apos;, &apos;keyId&apos;: 0}}, &apos;operationTime&apos;: Timestamp(1618711753, 18)}&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;And I think this is because of &lt;a href=&quot;https://github.com/mongodb/mongo/blob/46f91e5bd299bdfb6618c3fe8a82df68eadd30b8/src/mongo/client/dbclient_base.cpp#L1037-L1041&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this logic&lt;/a&gt;. I think for tenant migration, we need to differentiate empty index spec and NamespaceNotFound. The tenant collection cloner should &lt;a href=&quot;https://github.com/mongodb/mongo/blob/46f91e5bd299bdfb6618c3fe8a82df68eadd30b8/src/mongo/db/repl/tenant_collection_cloner.cpp#L143-L151&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;skip cloning this collection on NamespaceNotFound&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;EDIT: Ah actually, I read it wrong. Since we run &lt;tt&gt;getIndexSpecs&lt;/tt&gt; using UUID, it shouldn&apos;t be a problem because &quot;NamespaceNotFound&quot; is an error for UUID and we only return an empty list for NamespaceString.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1537235">SERVER-52713</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1676636">SERVER-56002</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1647065">SERVER-55169</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1676636">SERVER-56002</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>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 41 weeks 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1791</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>lingzhi.deng@mongodb.com</customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hykynj:</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="4853">Repl 2021-04-19</customfieldvalue>
    <customfieldvalue id="4858">Repl 2021-05-03</customfieldvalue>
    <customfieldvalue id="4859">Repl 2021-05-17</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|hz0u4n:</customfieldvalue>

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