summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail.cpp
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2019-05-31 13:26:43 -0400
committerLouis Williams <louis.williams@mongodb.com>2019-05-31 13:26:43 -0400
commit0c99d93518b8647a16897a3bf1bb318221a2ccec (patch)
treed562372ace57cd7f303a936034f879f029316718 /src/mongo/db/repl/sync_tail.cpp
parent3cf42be987cdb947cc4fde97203acc40347dee42 (diff)
downloadmongo-0c99d93518b8647a16897a3bf1bb318221a2ccec.tar.gz
SERVER-40177 Enforce prepare conflicts on secondaries
Diffstat (limited to 'src/mongo/db/repl/sync_tail.cpp')
-rw-r--r--src/mongo/db/repl/sync_tail.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/repl/sync_tail.cpp b/src/mongo/db/repl/sync_tail.cpp
index 2f3269450c0..ac6331d02f7 100644
--- a/src/mongo/db/repl/sync_tail.cpp
+++ b/src/mongo/db/repl/sync_tail.cpp
@@ -1022,10 +1022,6 @@ Status multiSyncApply(OperationContext* opCtx,
// Explicitly start future read transactions without a timestamp.
opCtx->recoveryUnit()->setTimestampReadSource(RecoveryUnit::ReadSource::kNoTimestamp);
- // TODO: SERVER-40177 This should be removed once it is guaranteed operations applied on
- // secondaries cannot encounter unnecessary prepare conflicts.
- opCtx->recoveryUnit()->setIgnorePrepared(true);
-
ApplierHelpers::stableSortByNamespace(ops);
// Assume we are recovering if oplog writes are disabled in the options.