summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/transaction_oplog_application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/transaction_oplog_application.cpp')
-rw-r--r--src/mongo/db/repl/transaction_oplog_application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/transaction_oplog_application.cpp b/src/mongo/db/repl/transaction_oplog_application.cpp
index b9f75c07d1a..8608926919c 100644
--- a/src/mongo/db/repl/transaction_oplog_application.cpp
+++ b/src/mongo/db/repl/transaction_oplog_application.cpp
@@ -512,8 +512,8 @@ void reconstructPreparedTransactions(OperationContext* opCtx, repl::OplogApplica
}
// Read the transactions table and the oplog collection without a timestamp.
// The below DBDirectClient read uses AutoGetCollectionForRead which could implicitly change the
- // read source to kLastApplied. So we need to explicitly set the read source to kNoTimestamp to
- // force reads in this scope to be untimestamped.
+ // read source. So we need to explicitly set the read source to kNoTimestamp to force reads in
+ // this scope to be untimestamped.
ReadSourceScope readSourceScope(opCtx, RecoveryUnit::ReadSource::kNoTimestamp);
DBDirectClient client(opCtx);