<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:36:14 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-55357] Repeated retryable write execution on tenant migration recipient</title>
                <link>https://jira.mongodb.org/browse/SERVER-55357</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Based on the EVG patch builds for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52713&quot; title=&quot;[testing] Add stepdown/kill/terminate to tenant_migration_jscore_passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52713&quot;&gt;&lt;del&gt;SERVER-52713&lt;/del&gt;&lt;/a&gt;, the recipient can end up processing a retryable write more than once and hit this &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8c70b1b75dbb73fde2697f7921fb2e2b1b76cd5f/src/mongo/db/repl/tenant_oplog_applier.cpp#L729-L734&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;uassert&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;   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 with donor replica set &apos;rs1&apos; aborted due to an error: {&apos;state&apos;: &apos;aborted&apos;, &apos;abortReason&apos;: {&apos;code&apos;: 5350902, &apos;codeName&apos;: &apos;Location5350902&apos;, &apos;errmsg&apos;: &apos;Tenant migration recipient command failed :: caused by :: Tenant oplog application processed same retryable write twice for transaction 0 statement 0 on session 49660e6b-331b-47a2-aa17-efe2c169c8a5 - 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=&apos;}, &apos;ok&apos;: 1.0, &apos;$clusterTime&apos;: {&apos;clusterTime&apos;: Timestamp(1616103291, 4), &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(1616103291, 4)}&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;or fail this &lt;a href=&quot;https://github.com/mongodb/mongo/blob/133d07b3e9e8dfb2aacb52dc2174bee38d791aec/src/mongo/db/transaction_participant.cpp#L104-L116&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;fassert&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;[j0:rs0:n1] | 2021-03-19T02:54:54.971+00:00 F  STORAGE  40526   [conn114] &quot;Statement from transaction was committed twice. This indicates possible data corruption or server bug and the process will be terminated&quot;,&quot;attr&quot;:{&quot;stmtId&quot;:0,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;27ab03e4-f71f-4846-b6c3-7b2d506cb331&quot;},&quot;uid&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=&quot;,&quot;subType&quot;:&quot;0&quot;}}},&quot;txnNumber&quot;:49,&quot;firstCommitOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1616122473,&quot;i&quot;:65}},&quot;t&quot;:2},&quot;secondCommitOpTime&quot;:{&quot;ts&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1616122455,&quot;i&quot;:11}},&quot;t&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;   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;[j0:rs0:n1] | 2021-03-19T02:54:55.232+00:00 I  CONTROL  31380   [conn114] &quot;BACKTRACE&quot;,&quot;attr&quot;:{&quot;bt&quot;:{&quot;backtrace&quot;:[{&quot;a&quot;:&quot;7FA544A6A112&quot;,&quot;b&quot;:&quot;7FA544878000&quot;,&quot;o&quot;:&quot;1F2112&quot;,&quot;s&quot;:&quot;_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.630&quot;,&quot;s+&quot;:&quot;212&quot;},{&quot;a&quot;:&quot;7FA544A6BB39&quot;,&quot;b&quot;:&quot;7FA544878000&quot;,&quot;o&quot;:&quot;1F3B39&quot;,&quot;s&quot;:&quot;_ZN5mongo15printStackTraceEv&quot;,&quot;s+&quot;:&quot;29&quot;},{&quot;a&quot;:&quot;7FA544A6707F&quot;,&quot;b&quot;:&quot;7FA544878000&quot;,&quot;o&quot;:&quot;1EF07F&quot;,&quot;s&quot;:&quot;abruptQuit&quot;,&quot;s+&quot;:&quot;6F&quot;},{&quot;a&quot;:&quot;7FA542E86D80&quot;,&quot;b&quot;:&quot;7FA542E74000&quot;,&quot;o&quot;:&quot;12D80&quot;,&quot;s&quot;:&quot;funlockfile&quot;,&quot;s+&quot;:&quot;50&quot;},{&quot;a&quot;:&quot;7FA54276593F&quot;,&quot;b&quot;:&quot;7FA54272E000&quot;,&quot;o&quot;:&quot;3793F&quot;,&quot;s&quot;:&quot;gsignal&quot;,&quot;s+&quot;:&quot;10F&quot;},{&quot;a&quot;:&quot;7FA54274FC95&quot;,&quot;b&quot;:&quot;7FA54272E000&quot;,&quot;o&quot;:&quot;21C95&quot;,&quot;s&quot;:&quot;abort&quot;,&quot;s+&quot;:&quot;127&quot;},{&quot;a&quot;:&quot;7FA544996916&quot;,&quot;b&quot;:&quot;7FA544878000&quot;,&quot;o&quot;:&quot;11E916&quot;,&quot;s&quot;:&quot;_ZN5mongo25fassertFailedWithLocationEiPKcj&quot;,&quot;s+&quot;:&quot;12B&quot;},{&quot;a&quot;:&quot;7FA5405F5349&quot;,&quot;b&quot;:&quot;7FA5405C3000&quot;,&quot;o&quot;:&quot;32349&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_126fassertOnRepeatedExecutionERKNS_16LogicalSessionIdEliRKNS_4repl6OpTimeES7_.cold.2327&quot;,&quot;s+&quot;:&quot;16&quot;},{&quot;a&quot;:&quot;7FA5406172E2&quot;,&quot;b&quot;:&quot;7FA5405C3000&quot;,&quot;o&quot;:&quot;542E2&quot;,&quot;s&quot;:&quot;_ZN5mongo22TransactionParticipant11Participant27_refreshFromStorageIfNeededEPNS_16OperationContextEb&quot;,&quot;s+&quot;:&quot;962&quot;},{&quot;a&quot;:&quot;7FA5405FE69F&quot;,&quot;b&quot;:&quot;7FA5405C3000&quot;,&quot;o&quot;:&quot;3B69F&quot;,&quot;s&quot;:&quot;_ZN5mongo29MongoDOperationContextSessionC1EPNS_16OperationContextE&quot;,&quot;s+&quot;:&quot;4F&quot;},{&quot;a&quot;:&quot;7FA53BD91436&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3D436&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_131CheckoutSessionAndInvokeCommand3runEv&quot;,&quot;s+&quot;:&quot;136&quot;},{&quot;a&quot;:&quot;7FA53BD9267A&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3E67A&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv&quot;,&quot;s+&quot;:&quot;29A&quot;},{&quot;a&quot;:&quot;7FA53BD92D83&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3ED83&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern24_runCommandWithFailPointEv&quot;,&quot;s+&quot;:&quot;83&quot;},{&quot;a&quot;:&quot;7FA53BD9326C&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3F26C&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern8_runImplEv&quot;,&quot;s+&quot;:&quot;3C&quot;},{&quot;a&quot;:&quot;7FA53BD860D9&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;320D9&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv&quot;,&quot;s+&quot;:&quot;139&quot;},{&quot;a&quot;:&quot;7FA53BD867AB&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;327AB&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv&quot;,&quot;s+&quot;:&quot;1CB&quot;},{&quot;a&quot;:&quot;7FA53BD8E7DB&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3A7DB&quot;,&quot;s&quot;:&quot;_ZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEv&quot;,&quot;s+&quot;:&quot;44B&quot;},{&quot;a&quot;:&quot;7FA53BD908A0&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3C8A0&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_&quot;,&quot;s+&quot;:&quot;80&quot;},{&quot;a&quot;:&quot;7FA544BD7ABF&quot;,&quot;b&quot;:&quot;7FA544BA0000&quot;,&quot;o&quot;:&quot;37ABF&quot;,&quot;s&quot;:&quot;_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv&quot;,&quot;s+&quot;:&quot;12F&quot;},{&quot;a&quot;:&quot;7FA541EF9BA2&quot;,&quot;b&quot;:&quot;7FA541E84000&quot;,&quot;o&quot;:&quot;75BA2&quot;,&quot;s&quot;:&quot;_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE0_ZNOS3_17propagateResultToES7_EUlvE1_EEDaOT_OT0_OT1_&quot;,&quot;s+&quot;:&quot;152&quot;},{&quot;a&quot;:&quot;7FA53BD8B25C&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3725C&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_&quot;,&quot;s+&quot;:&quot;AC&quot;},{&quot;a&quot;:&quot;7FA544BD7ABF&quot;,&quot;b&quot;:&quot;7FA544BA0000&quot;,&quot;o&quot;:&quot;37ABF&quot;,&quot;s&quot;:&quot;_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv&quot;,&quot;s+&quot;:&quot;12F&quot;},{&quot;a&quot;:&quot;7FA53BD8F1A1&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3B1A1&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE&quot;,&quot;s+&quot;:&quot;211&quot;},{&quot;a&quot;:&quot;7FA53BD8FB0B&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3BB0B&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE&quot;,&quot;s+&quot;:&quot;1BB&quot;},{&quot;a&quot;:&quot;7FA53BD907E6&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;3C7E6&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv&quot;,&quot;s+&quot;:&quot;36&quot;},{&quot;a&quot;:&quot;7FA53BD87888&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;33888&quot;,&quot;s&quot;:&quot;_ZZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EEENKUlvE_clEv&quot;,&quot;s+&quot;:&quot;A8&quot;},{&quot;a&quot;:&quot;7FA53BD87DD4&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;33DD4&quot;,&quot;s&quot;:&quot;_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS5_5HooksESt14default_deleteISD_EEEUlvE_EEDaOT_ENKUlOS2_E_clESK_.isra.2166&quot;,&quot;s+&quot;:&quot;24&quot;},{&quot;a&quot;:&quot;7FA53BD89D09&quot;,&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;o&quot;:&quot;35D09&quot;,&quot;s&quot;:&quot;_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE&quot;,&quot;s+&quot;:&quot;2D9&quot;},{&quot;a&quot;:&quot;7FA541420F83&quot;,&quot;b&quot;:&quot;7FA541417000&quot;,&quot;o&quot;:&quot;9F83&quot;,&quot;s&quot;:&quot;_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE&quot;,&quot;s+&quot;:&quot;53&quot;},{&quot;a&quot;:&quot;7FA541400C3D&quot;,&quot;b&quot;:&quot;7FA5413CE000&quot;,&quot;o&quot;:&quot;32C3D&quot;,&quot;s&quot;:&quot;_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv&quot;,&quot;s+&quot;:&quot;12D&quot;},{&quot;a&quot;:&quot;7FA541401027&quot;,&quot;b&quot;:&quot;7FA5413CE000&quot;,&quot;o&quot;:&quot;33027&quot;,&quot;s&quot;:&quot;_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_ENKUlOS2_E_clESE_.isra.724&quot;,&quot;s+&quot;:&quot;27&quot;},{&quot;a&quot;:&quot;7FA5414037D0&quot;,&quot;b&quot;:&quot;7FA5413CE000&quot;,&quot;o&quot;:&quot;357D0&quot;,&quot;s&quot;:&quot;_ZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusE&quot;,&quot;s+&quot;:&quot;240&quot;},{&quot;a&quot;:&quot;7FA541403CAF&quot;,&quot;b&quot;:&quot;7FA5413CE000&quot;,&quot;o&quot;:&quot;35CAF&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKS1_ENKUlS1_E2_clES1_EUlS1_E0_EEDaOT_EN12SpecificImpl4callEOS1_&quot;,&quot;s+&quot;:&quot;7F&quot;},{&quot;a&quot;:&quot;7FA53DEA7B01&quot;,&quot;b&quot;:&quot;7FA53DE75000&quot;,&quot;o&quot;:&quot;32B01&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport26ServiceExecutorSynchronous18runOnDataAvailableERKSt10shared_ptrINS5_7SessionEES3_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_&quot;,&quot;s+&quot;:&quot;41&quot;},{&quot;a&quot;:&quot;7FA53DE9E143&quot;,&quot;b&quot;:&quot;7FA53DE75000&quot;,&quot;o&quot;:&quot;29143&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport15ServiceExecutor8scheduleENS0_IFvNS_6StatusEEEEEUlvE_EEDaOT_EN12SpecificImpl4callEv&quot;,&quot;s+&quot;:&quot;33&quot;},{&quot;a&quot;:&quot;7FA53DEAA7E0&quot;,&quot;b&quot;:&quot;7FA53DE75000&quot;,&quot;o&quot;:&quot;357E0&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous12scheduleTaskES2_NS4_15ServiceExecutor13ScheduleFlagsEEUlvE0_EEDaOT_EN12SpecificImpl4callEv&quot;,&quot;s+&quot;:&quot;B0&quot;},{&quot;a&quot;:&quot;7FA53DEABE3C&quot;,&quot;b&quot;:&quot;7FA53DE75000&quot;,&quot;o&quot;:&quot;36E3C&quot;,&quot;s&quot;:&quot;_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_25launchServiceWorkerThreadES2_EUlvE2_EEDaOT_EN12SpecificImpl4callEv&quot;,&quot;s+&quot;:&quot;5C&quot;},{&quot;a&quot;:&quot;7FA53DEABEAC&quot;,&quot;b&quot;:&quot;7FA53DE75000&quot;,&quot;o&quot;:&quot;36EAC&quot;,&quot;s&quot;:&quot;_ZN5mongo12_GLOBAL__N_17runFuncEPv&quot;,&quot;s+&quot;:&quot;1C&quot;},{&quot;a&quot;:&quot;7FA542E7C2DE&quot;,&quot;b&quot;:&quot;7FA542E74000&quot;,&quot;o&quot;:&quot;82DE&quot;,&quot;s&quot;:&quot;start_thread&quot;,&quot;s+&quot;:&quot;FE&quot;},{&quot;a&quot;:&quot;7FA54282AA63&quot;,&quot;b&quot;:&quot;7FA54272E000&quot;,&quot;o&quot;:&quot;FCA63&quot;,&quot;s&quot;:&quot;clone&quot;,&quot;s+&quot;:&quot;43&quot;}],&quot;processInfo&quot;:{&quot;mongodbVersion&quot;:&quot;4.9.0-alpha7-169-g612a372-patch-6054068b5623432db686814d&quot;,&quot;gitVersion&quot;:&quot;612a3725d98381bf9c0777bcd6b2169cae33f4d1&quot;,&quot;compiledModules&quot;:[&quot;enterprise&quot;],&quot;uname&quot;:{&quot;sysname&quot;:&quot;Linux&quot;,&quot;release&quot;:&quot;4.18.0-80.1.2.el8_0.x86_64&quot;,&quot;version&quot;:&quot;#1 SMP Sun Apr 28 09:21:22 UTC 2019&quot;,&quot;machine&quot;:&quot;x86_64&quot;},&quot;somap&quot;:[{&quot;b&quot;:&quot;7FA544878000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/libbase.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;C4E3038F4C4927C9EFB6C61A7C09F5DCB339A1AE&quot;},{&quot;b&quot;:&quot;7FA544BA0000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/libmongod_main.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;2267A5EDC9634E0DE3E9AF323BC4D790F7610D30&quot;},{&quot;b&quot;:&quot;7FA542E74000&quot;,&quot;path&quot;:&quot;/lib64/libpthread.so.0&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;5326B8728FA01B7149DAC943100F1405533E76CE&quot;},{&quot;b&quot;:&quot;7FA54272E000&quot;,&quot;path&quot;:&quot;/lib64/libc.so.6&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;0598B7D6A05E64AE676133CF6331AF5578888AD0&quot;},{&quot;b&quot;:&quot;7FA541E84000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/../lib/libtransport_layer.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;3FBB6683B5CB3C7C87B286DE51C739F8622D1ABB&quot;},{&quot;b&quot;:&quot;7FA541417000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/../lib/libservice_context_d.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;3C84D0105E8DB818D385378355129606BAAB347A&quot;},{&quot;b&quot;:&quot;7FA5413CE000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/../lib/libservice_entry_point.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;BA30636559FF9AC794DA6DE2EA19C820AF53A103&quot;},{&quot;b&quot;:&quot;7FA5405C3000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/../lib/libtransaction.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;510EBD03635CF6D728A712365D605AB024CCB98C&quot;},{&quot;b&quot;:&quot;7FA53DE75000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/../lib/libservice_executor.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;D3C4A9977BA84311C3E699E518A82EAE33D6A3DC&quot;},{&quot;b&quot;:&quot;7FA53BD54000&quot;,&quot;path&quot;:&quot;/data/mci/c31bb7a5c5cbba085cb15bea09e68574/src/dist-test/bin/../lib/../lib/../lib/libservice_entry_point_common.so&quot;,&quot;elfType&quot;:3,&quot;buildId&quot;:&quot;7137FAAB4DA4B3D1E2FD98963EC4BE27A703525F&quot;}]}}}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1653949">SERVER-55357</key>
            <summary>Repeated retryable write execution on tenant migration recipient</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="lingzhi.deng@mongodb.com">Lingzhi Deng</assignee>
                                    <reporter username="cheahuychou.mao@mongodb.com">Cheahuychou Mao</reporter>
                        <labels>
                            <label>pm-1791_non-cloud-blocking</label>
                    </labels>
                <created>Fri, 19 Mar 2021 15:59:12 +0000</created>
                <updated>Sun, 29 Oct 2023 21:56:02 +0000</updated>
                            <resolved>Mon, 5 Apr 2021 13:51:40 +0000</resolved>
                                                    <fixVersion>4.9.0-rc1</fixVersion>
                    <fixVersion>5.0.0-rc0</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3700820" author="xgen-internal-githook" created="Mon, 5 Apr 2021 15:07:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55357&quot; title=&quot;Repeated retryable write execution on tenant migration recipient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55357&quot;&gt;&lt;del&gt;SERVER-55357&lt;/del&gt;&lt;/a&gt;: Start a new retryable write chain on each migration&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 03fbe539140630c6da4a29dfee160649d6453457)&lt;br/&gt;
Branch: v4.9&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a5e7e1bf475025df6faf17709ba9e34b83c26e69&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a5e7e1bf475025df6faf17709ba9e34b83c26e69&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3700581" author="xgen-internal-githook" created="Mon, 5 Apr 2021 13:44:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55357&quot; title=&quot;Repeated retryable write execution on tenant migration recipient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55357&quot;&gt;&lt;del&gt;SERVER-55357&lt;/del&gt;&lt;/a&gt;: Start a new retryable write chain on each migration&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/03fbe539140630c6da4a29dfee160649d6453457&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/03fbe539140630c6da4a29dfee160649d6453457&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3694012" author="lingzhi.deng" created="Wed, 31 Mar 2021 15:07:35 +0000"  >&lt;p&gt;I think the problem is that we always use the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/b055d3a7093064a4df30a5595e13dc6b6ac0844f/src/mongo/db/repl/tenant_oplog_applier.cpp#L735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;lastWriteOpTime&lt;/tt&gt; from the &lt;tt&gt;TransactionParticipant&lt;/tt&gt;&lt;/a&gt; as the &lt;tt&gt;prevWriteOpTime&lt;/tt&gt; for a retryable write noop entry. But if the recipient has migrated the same retryable write before (in a previously aborted migration), the recipient could end up linking the new retryable write noops to the existing retryable write chain for the same session.&lt;br/&gt;
For example, for retryable write with session 1, txn 1:&lt;br/&gt;
1. After a failed migration, recipient could have lastWriteOpTime 10 for session 1, txn 1 in config.transactions.&lt;br/&gt;
2. Retrying the same migration, recipient would migrate the same retryable write and update lastWriteOpTime 20 for session 1, txn 1 in config.transactions. And the recipient would also link the newly generated retryable noop at ts20 to the retryable noop at ts10 from the last migration.&lt;br/&gt;
3. The recipient&apos;s retryable chain ends up having two entries for the same stmtId.&lt;/p&gt;

&lt;p&gt;I was able to reproduce the same issue in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55236&quot; title=&quot;Test retrying session migration after a failed tenant migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55236&quot;&gt;&lt;del&gt;SERVER-55236&lt;/del&gt;&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">
                                        <issuelink>
            <issuekey id="1537235">SERVER-52713</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1650410">SERVER-55236</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1737857">SERVER-57098</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21266"><![CDATA[v4.9]]></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, 31 Mar 2021 15:07:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 44 weeks, 2 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_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>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, 44 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>cheahuychou.mao@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <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|hz0byn:</customfieldvalue>

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

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

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

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