<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:12:21 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-46756] Migration recovery on stepup can attempt to &quot;recover&quot; a move chunk already running and cause it to abort</title>
                <link>https://jira.mongodb.org/browse/SERVER-46756</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On step up, a node runs resumeMigrationCoordinationsOnStepUp which reads docs in the migrationCoordinators collection in order to recover any migrations. The following race can happen if there is a moveChunk where the source is the node stepping up run quickly after the stepdown/stepup command:&lt;/p&gt;

&lt;p&gt;1. node 1 in shard A is stepping up&lt;br/&gt;
2. move chunk from shard A to shard B starts&lt;br/&gt;
3. node 1 shard A writes the migration coordinator doc from the move chunk in step 2&lt;br/&gt;
4. node 1 shard A is running resumeMigrationCoordinationsOnStepUp and finds the doc written in #3 and starts that moveChunk again&lt;br/&gt;
5. node 1 aborts the migration&lt;/p&gt;

&lt;p&gt;This isn&apos;t a correctness bug, but causes migrations to abort unnecessarily. Below are log lines showing this scenario:&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;[js_test:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.402+0000 d20023| 2020-03-05T23:47:06.402+0000 D2 MIGRATION 23889 [MoveChunk] &quot;Starting chunk migration {args} with expected collection version epoch {args_getVersionEpoch}&quot;,&quot;attr&quot;:{&quot;args&quot;:&quot;ns: test.findAndMod-update-postImage, [{ x: MinKey }, { x: MaxKey }), fromShard: move_chunk_find_and_modify_with_write_retryability-rs1, toShard: move_chunk_find_and_modify_with_write_retryability-rs0&quot;,&quot;args_getVersionEpoch&quot;:{&quot;$oid&quot;:&quot;5e618f62bcc83a106428cd17&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.402+0000 d20023| 2020-03-05T23:47:06.402+0000 D2 MIGRATION 23889   [MoveChunk] &quot;Persisting migration coordinator doc&quot;,&quot;attr&quot;:{&quot;migrationDoc&quot;:{&quot;_id&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&quot;},&quot;migrationSessionId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs1_move_chunk_find_and_modify_with_write_retryability-rs0_5e618f7a444eb86b3f2befca&quot;,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;bea47927-e355-43ad-8cf1-4f0ac2f720a3&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;txnNumber&quot;:2,&quot;nss&quot;:&quot;test.findAndMod-update-postImage&quot;,&quot;collectionUuid&quot;:{&quot;$uuid&quot;:&quot;e46a8870-d22b-43ed-b91f-142265d8be10&quot;},&quot;donorShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs1&quot;,&quot;recipientShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs0&quot;,&quot;range&quot;:{&quot;min&quot;:{&quot;x&quot;:{&quot;$minKey&quot;:1}},&quot;max&quot;:{&quot;x&quot;:{&quot;$maxKey&quot;:1}}},&quot;preMigrationChunkVersion&quot;:{&quot;0&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:2,&quot;i&quot;:0}},&quot;1&quot;:{&quot;$oid&quot;:&quot;5e618f62bcc83a106428cd17&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.792+0000 d20023| 2020-03-05T23:47:06.792+0000 I  TXN      22452   [TransactionCoordinator] &quot;Need to resume coordinating commit for {coordinatorDocs_size} transactions&quot;,&quot;attr&quot;:{&quot;coordinatorDocs_size&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;[js_test:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.792+0000 d20023| 2020-03-05T23:47:06.792+0000 D2 MIGRATION 22039   [MigrationCoordinatorStepupRecovery] &quot;Recovering migration {doc}&quot;,&quot;attr&quot;:{&quot;doc&quot;:{&quot;_id&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&quot;},&quot;migrationSessionId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs1_move_chunk_find_and_modify_with_write_retryability-rs0_5e618f7a444eb86b3f2befca&quot;,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;bea47927-e355-43ad-8cf1-4f0ac2f720a3&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;txnNumber&quot;:2,&quot;nss&quot;:&quot;test.findAndMod-update-postImage&quot;,&quot;collectionUuid&quot;:{&quot;$uuid&quot;:&quot;e46a8870-d22b-43ed-b91f-142265d8be10&quot;},&quot;donorShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs1&quot;,&quot;recipientShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs0&quot;,&quot;range&quot;:{&quot;min&quot;:{&quot;x&quot;:{&quot;$minKey&quot;:1}},&quot;max&quot;:{&quot;x&quot;:{&quot;$maxKey&quot;:1}}},&quot;preMigrationChunkVersion&quot;:{&quot;0&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:2,&quot;i&quot;:0}},&quot;1&quot;:{&quot;$oid&quot;:&quot;5e618f62bcc83a106428cd17&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.809+0000 d20023| | 2020-03-05T23:47:06.809+0000 I  SH_REFR  24104   [ConfigServerCatalogCacheLoader-1] &quot;Refresh for collection {nss}{existingRoutingInfo_from_version_existingRoutingInfo_getVersion} to version {routingInfoAfterRefresh_getVersion} took {t_millis} ms&quot;,&quot;attr&quot;:{&quot;nss&quot;:&quot;test.findAndMod-update-postImage&quot;,&quot;existingRoutingInfo_from_version_existingRoutingInfo_getVersion&quot;:&quot; from version 2|0||5e618f62bcc83a106428cd17&quot;,&quot;routingInfoAfterRefresh_getVersion&quot;:&quot;3|0||5e618f62bcc83a106428cd17&quot;,&quot;t_millis&quot;:7}&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.814+0000 d20023| | 2020-03-05T23:47:06.814+0000 I  SH_REFR  24104   [ConfigServerCatalogCacheLoader-1] &quot;Refresh for collection {nss}{existingRoutingInfo_from_version_existingRoutingInfo_getVersion} to version {routingInfoAfterRefresh_getVersion} took {t_millis} ms&quot;,&quot;attr&quot;:{&quot;nss&quot;:&quot;test.findAndMod-update-postImage&quot;,&quot;existingRoutingInfo_from_version_existingRoutingInfo_getVersion&quot;:&quot; from version 2|0||5e618f62bcc83a106428cd17&quot;,&quot;routingInfoAfterRefresh_getVersion&quot;:&quot;3|0||5e618f62bcc83a106428cd17&quot;,&quot;t_millis&quot;:5}&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.814+0000 d20023| | 2020-03-05T23:47:06.814+0000 I  SHARDING 21985   [MigrationCoordinatorStepupRecovery] &quot;Updating metadata for collection {nss_ns} from {activeMetadata_Basic} to {remoteMetadata_Basic} due to version change&quot;,&quot;attr&quot;:{&quot;nss_ns&quot;:&quot;test.findAndMod-update-postImage&quot;,&quot;activeMetadata_Basic&quot;:&quot;collection version: 2|0||5e618f62bcc83a106428cd17, shard version: 2|0||5e618f62bcc83a106428cd17&quot;,&quot;remoteMetadata_Basic&quot;:&quot;collection version: 3|0||5e618f62bcc83a106428cd17, shard version: 3|0||5e618f62bcc83a106428cd17&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.815+0000 d20023| 2020-03-05T23:47:06.814+0000 D2 MIGRATION 23891   [MigrationCoordinatorStepupRecovery] &quot;MigrationCoordinator setting migration decision to {decision_Decision_kCommitted_committed_aborted}&quot;,&quot;attr&quot;:{&quot;decision_Decision_kCommitted_committed_aborted&quot;:&quot;aborted&quot;,&quot;migrationId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.815+0000 d20023| 2020-03-05T23:47:06.815+0000 I  MIGRATION 23893   [MigrationCoordinatorStepupRecovery] &quot;MigrationCoordinator delivering decision {decision_Decision_kCommitted_committed_aborted} to self and to recipient&quot;,&quot;attr&quot;:{&quot;decision_Decision_kCommitted_committed_aborted&quot;:&quot;aborted&quot;,&quot;migrationId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.815+0000 d20023| 2020-03-05T23:47:06.815+0000 D2 MIGRATION 23899   [MigrationCoordinatorStepupRecovery] &quot;Making abort decision durable&quot;,&quot;attr&quot;:{&quot;migrationId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.828+0000 d20023| 2020-03-05T23:47:06.828+0000 D2 MIGRATION 23900   [MigrationCoordinatorStepupRecovery] &quot;Bumping transaction for {migrationInfo_getRecipientShardId} lsid: {migrationInfo_getLsid} txn: {TxnNumber}&quot;,&quot;attr&quot;:{&quot;migrationInfo_getRecipientShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs0&quot;,&quot;migrationInfo_getLsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;bea47927-e355-43ad-8cf1-4f0ac2f720a3&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;TxnNumber&quot;:2,&quot;migrationId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.828+0000 d20023| 2020-03-05T23:47:06.828+0000 D1 MIGRATION 22023   [MigrationCoordinatorStepupRecovery] &quot;Sending request {cmd} to recipient.&quot;,&quot;attr&quot;:{&quot;cmd&quot;:{&quot;update&quot;:&quot;system.version&quot;,&quot;bypassDocumentValidation&quot;:false,&quot;ordered&quot;:true,&quot;updates&quot;:[{&quot;q&quot;:{&quot;_id&quot;:&quot;migrationCoordinatorStats&quot;},&quot;u&quot;:{&quot;$inc&quot;:{&quot;count&quot;:1}},&quot;multi&quot;:false,&quot;upsert&quot;:true}],&quot;writeConcern&quot;:{&quot;w&quot;:&quot;majority&quot;},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;bea47927-e355-43ad-8cf1-4f0ac2f720a3&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;txnNumber&quot;:3}}&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.829+0000 d20020| 2020-03-05T23:47:06.828+0000 D4 TXN      23984   [conn55] &quot;New transaction started with txnNumber: {txnNumber} on session with lsid {sessionId_getId}&quot;,&quot;attr&quot;:{&quot;txnNumber&quot;:3,&quot;sessionId_getId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;bea47927-e355-43ad-8cf1-4f0ac2f720a3&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.861+0000 d20020| 2020-03-05T23:47:06.861+0000 I  MIGRATION 21998   [migrateThread] &quot;{msg}&quot;,&quot;attr&quot;:{&quot;msg&quot;:&quot;migrate failed: TransactionTooOld: Retryable write with txnNumber 2 is prohibited on session bea47927-e355-43ad-8cf1-4f0ac2f720a3 - u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A= because a newer retryable write with txnNumber 3 has already started on this session.&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.862+0000 d20023| 2020-03-05T23:47:06.862+0000 I  SHARDING 21993   [MoveChunk] &quot;moveChunk data transfer progress: {res} mem used: {memoryUsed} documents remaining to clone: {cloneLocsRemaining}&quot;,&quot;attr&quot;:{&quot;res&quot;:{&quot;waited&quot;:true,&quot;active&quot;:false,&quot;ns&quot;:&quot;test.findAndMod-update-postImage&quot;,&quot;from&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs1/ip-10-122-8-3:20022,ip-10-122-8-3:20023&quot;,&quot;fromShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs1&quot;,&quot;min&quot;:{&quot;x&quot;:{&quot;$minKey&quot;:1}},&quot;max&quot;:{&quot;x&quot;:{&quot;$maxKey&quot;:1}},&quot;shardKeyPattern&quot;:{&quot;x&quot;:1},&quot;state&quot;:&quot;fail&quot;,&quot;errmsg&quot;:&quot;migrate failed: TransactionTooOld: Retryable write with txnNumber 2 is prohibited on session bea47927-e355-43ad-8cf1-4f0ac2f720a3 - u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A= because a newer retryable write with txnNumber 3 has already started on this session.&quot;,&quot;counts&quot;:{&quot;cloned&quot;:0,&quot;clonedBytes&quot;:0,&quot;catchup&quot;:0,&quot;steady&quot;:0},&quot;ok&quot;:1,&quot;$gleStats&quot;:{&quot;lastOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1583452026,&quot;i&quot;:18}},&quot;t&quot;:1},&quot;electionId&quot;:{&quot;$oid&quot;:&quot;7fffffff0000000000000001&quot;}},&quot;lastCommittedOpTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1583452026,&quot;i&quot;:15}},&quot;$configServerState&quot;:{&quot;opTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1583452026,&quot;i&quot;:8}},&quot;t&quot;:1}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1583452026,&quot;i&quot;:20}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;operationTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1583452026,&quot;i&quot;:20}}},&quot;memoryUsed&quot;:0,&quot;cloneLocsRemaining&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:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.873+0000 d20023| 2020-03-05T23:47:06.872+0000 D2 MIGRATION 23900   [MoveChunk] &quot;Bumping transaction for {migrationInfo_getRecipientShardId} lsid: {migrationInfo_getLsid} txn: {TxnNumber}&quot;,&quot;attr&quot;:{&quot;migrationInfo_getRecipientShardId&quot;:&quot;move_chunk_find_and_modify_with_write_retryability-rs0&quot;,&quot;migrationInfo_getLsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;bea47927-e355-43ad-8cf1-4f0ac2f720a3&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;TxnNumber&quot;:2,&quot;migrationId&quot;:{&quot;uuid&quot;:{&quot;$uuid&quot;:&quot;d5de5090-339c-4ce9-b418-3a50afba6706&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;[js_test:move_chunk_find_and_modify_with_write_retryability] 2020-03-05T23:47:06.925+0000 &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="1258561">SERVER-46756</key>
            <summary>Migration recovery on stepup can attempt to &quot;recover&quot; a move chunk already running and cause it to abort</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="esha.maharishi@mongodb.com">Esha Maharishi</assignee>
                                    <reporter username="janna.golden@mongodb.com">Janna Golden</reporter>
                        <labels>
                            <label>sharding-4.4-stabilization</label>
                    </labels>
                <created>Tue, 10 Mar 2020 15:20:53 +0000</created>
                <updated>Sun, 29 Oct 2023 22:11:01 +0000</updated>
                            <resolved>Fri, 13 Mar 2020 21:14:15 +0000</resolved>
                                                    <fixVersion>4.4.0-rc0</fixVersion>
                    <fixVersion>4.7.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2979507" author="xgen-internal-githook" created="Fri, 13 Mar 2020 21:04:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Esha Maharishi&apos;, &apos;username&apos;: &apos;EshaMaharishi&apos;, &apos;email&apos;: &apos;esha.maharishi@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46756&quot; title=&quot;Migration recovery on stepup can attempt to &amp;quot;recover&amp;quot; a move chunk already running and cause it to abort&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46756&quot;&gt;&lt;del&gt;SERVER-46756&lt;/del&gt;&lt;/a&gt; Migration recovery on stepup can attempt to recover a move chunk already running and cause it to abort&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 80c8c36136070c72c29b3dc8b5d815440f7bd373)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/36412bfe38f46ed3cc81952db8a7029702248d27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/36412bfe38f46ed3cc81952db8a7029702248d27&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2979413" author="xgen-internal-githook" created="Fri, 13 Mar 2020 20:16:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;EshaMaharishi&apos;, &apos;name&apos;: &apos;Esha Maharishi&apos;, &apos;email&apos;: &apos;esha.maharishi@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46756&quot; title=&quot;Migration recovery on stepup can attempt to &amp;quot;recover&amp;quot; a move chunk already running and cause it to abort&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46756&quot;&gt;&lt;del&gt;SERVER-46756&lt;/del&gt;&lt;/a&gt; Migration recovery on stepup can attempt to recover a move chunk already running and cause it to abort&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/80c8c36136070c72c29b3dc8b5d815440f7bd373&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/80c8c36136070c72c29b3dc8b5d815440f7bd373&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></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>Thu, 12 Mar 2020 17:10:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 47 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_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>
                            3 years, 47 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>39.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>janna.golden@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hx5x7b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr5cmf:</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="3744">Sharding 2020-03-23</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|hx5jgn:</customfieldvalue>

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