blob: 14d2704089ae66cef633648bb82d435a47479a46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/**
* Tests that a chunk migration does not transfer the history for non-retryable internal
* transactions that commit or abort on the donor before the migration to the recipient.
*
* TODO (SERVER-64331): Determine if chunk migration should migrate internal sessions for
* non-retryable writes.
*
* @tags: [requires_fcv_53, featureFlagInternalTransactions]
*/
(function() {
"use strict";
load("jstests/sharding/libs/internal_transaction_chunk_migration_test.js");
const transactionTest = new InternalTransactionChunkMigrationTest();
transactionTest.runTestForInsertUpdateDeleteBeforeChunkMigration(
transactionTest.InternalTxnType.kNonRetryable, false /* abortOnInitialTry */);
transactionTest.runTestForInsertUpdateDeleteBeforeChunkMigration(
transactionTest.InternalTxnType.kNonRetryable, true /* abortOnInitialTry */);
transactionTest.stop();
})();
|