diff options
author | XueruiFa <xuerui.fa@mongodb.com> | 2021-02-10 22:48:48 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-25 04:44:31 +0000 |
commit | 22101c2af0be081847d82dddf6f303726b81b8e6 (patch) | |
tree | 9ddc0d8969ee6b3c2cc4ef30278436bf6e7e6513 /jstests/replsets/tenant_migration_commit_transaction_retry.js | |
parent | 46d914bc91a5224bda0a715c15fc440d903c9ba2 (diff) | |
download | mongo-22101c2af0be081847d82dddf6f303726b81b8e6.tar.gz |
SERVER-53511: Make committed transactions aggregation pipeline
Diffstat (limited to 'jstests/replsets/tenant_migration_commit_transaction_retry.js')
-rw-r--r-- | jstests/replsets/tenant_migration_commit_transaction_retry.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/jstests/replsets/tenant_migration_commit_transaction_retry.js b/jstests/replsets/tenant_migration_commit_transaction_retry.js index 113324fa5f3..16334c4221c 100644 --- a/jstests/replsets/tenant_migration_commit_transaction_retry.js +++ b/jstests/replsets/tenant_migration_commit_transaction_retry.js @@ -125,16 +125,6 @@ assert.eq(txnEntryOnDonor, aggRes.cursor.firstBatch[0]); // Test the client can retry commitTransaction for that transaction that committed prior to the // migration. -// Insert the config.transactions entry on the recipient, but with a dummy lastWriteOpTime. The -// recipient should not need a real lastWriteOpTime to support a commitTransaction retry. -txnEntryOnDonor.lastWriteOpTime.ts = new Timestamp(0, 0); -assert.commandWorked( - recipientPrimary.getCollection("config.transactions").insert([txnEntryOnDonor])); -recipientRst.awaitLastOpCommitted(); -recipientRst.getSecondaries().forEach(node => { - assert.eq(1, node.getCollection("config.transactions").count(txnEntryOnDonor)); -}); - assert.commandWorked(recipientPrimary.adminCommand({ commitTransaction: 1, lsid: txnEntryOnDonor._id, |