diff options
author | Louis Williams <louis.williams@mongodb.com> | 2019-05-31 13:26:43 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2019-05-31 13:26:43 -0400 |
commit | 0c99d93518b8647a16897a3bf1bb318221a2ccec (patch) | |
tree | d562372ace57cd7f303a936034f879f029316718 /src/mongo/db/repl/sync_tail.cpp | |
parent | 3cf42be987cdb947cc4fde97203acc40347dee42 (diff) | |
download | mongo-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.cpp | 4 |
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. |