diff options
author | Suganthi Mani <suganthi.mani@mongodb.com> | 2021-11-15 19:52:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-15 20:57:50 +0000 |
commit | b2295e963522669356c48f5e360b134b6a3792b0 (patch) | |
tree | 27764b1bc172a920b368e688f42b245c86888446 /jstests | |
parent | 8c73fa4df6d30a7ded2d31f4412601403838d945 (diff) | |
download | mongo-b2295e963522669356c48f5e360b134b6a3792b0.tar.gz |
SERVER-61428 tenant_migration_recipient_sync_donor_timestamp.js waits for last applied timestamp to get majority committed before step up.
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/tenant_migration_recipient_sync_donor_timestamp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_recipient_sync_donor_timestamp.js b/jstests/replsets/tenant_migration_recipient_sync_donor_timestamp.js index 359a1174940..97684dc8a07 100644 --- a/jstests/replsets/tenant_migration_recipient_sync_donor_timestamp.js +++ b/jstests/replsets/tenant_migration_recipient_sync_donor_timestamp.js @@ -86,7 +86,7 @@ fpBeforeApplierFutureCalled.off(); jsTestLog("Stepping another node up."); // Make a new recipient primary step up. This will ask the applier to shutdown. -assert.commandWorked(recipientRst.getSecondaries()[0].adminCommand({replSetStepUp: 1})); +recipientRst.stepUp(recipientRst.getSecondaries()[0]); jsTestLog("Release the tenant oplog applier failpoint."); fpPauseOplogApplier.off(); |