summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2022-12-01 20:24:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-03 19:43:42 +0000
commitbd227ce5529b0423ca791aa926db48ec8b10c07d (patch)
treed515feb5d4f487285ac3e8ef170393dd47a44356 /etc
parent55e4a05daabba24a6ec976a69335823384ed981b (diff)
downloadmongo-bd227ce5529b0423ca791aa926db48ec8b10c07d.tar.gz
SERVER-71219 Migration can miss writes from prepared transactions
This commit does 2 things: 1. Make sure that we register the migration source op observer hook in all paths where transactions transitions into prepare. 2. If we don't have the post image doc, fetch the latest doc from storage. (cherry picked from commit 2f708612dc39780410bf40d31a404cb121f653a9)
Diffstat (limited to 'etc')
-rw-r--r--etc/backports_required_for_multiversion_tests.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/backports_required_for_multiversion_tests.yml b/etc/backports_required_for_multiversion_tests.yml
index 5cc3e03d326..302f42137e2 100644
--- a/etc/backports_required_for_multiversion_tests.yml
+++ b/etc/backports_required_for_multiversion_tests.yml
@@ -248,6 +248,8 @@ last-continuous:
ticket: SERVER-72620
- test_file: jstests/core/timeseries/bucket_unpacking_with_sort_extended_range.js
ticket: SERVER-73110
+ - test_file: jstests/sharding/prepare_transaction_then_migrate.js
+ ticket: SERVER-71219
suites: null
last-lts:
all:
@@ -316,7 +318,7 @@ last-lts:
- test_file: jstests/core/txns/errors_on_committed_transaction.js
ticket: SERVER-52547
- test_file: jstests/sharding/prepare_transaction_then_migrate.js
- ticket: SERVER-52906
+ ticket: SERVER-71219
- test_file: jstests/sharding/migration_waits_for_majority_commit.js
ticket: SERVER-52906
- test_file: jstests/sharding/migration_ignore_interrupts_1.js