summaryrefslogtreecommitdiff
path: root/jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js')
-rw-r--r--jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js b/jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js
index 85e4b4e9874..f5100c39e35 100644
--- a/jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js
+++ b/jstests/replsets/reconstruct_prepared_transactions_initial_sync_on_oplog_seed.js
@@ -107,7 +107,7 @@ PrepareHelpers.awaitMajorityCommitted(replTest, prepareTimestamp);
jsTestLog("Initial sync completed");
-secondary.setSlaveOk();
+secondary.setSecondaryOk();
const secondaryColl = secondary.getDB(dbName).getCollection(collName);
jsTestLog("Checking that the transaction is properly prepared");