diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2019-05-23 08:50:31 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2019-05-23 08:50:31 -0400 |
commit | 02327e0ff4c1cfc33f36fa816f9ba63688e68248 (patch) | |
tree | b052913b02cfda0e496839ea0a08c61c74248da2 /src | |
parent | e0f66bf6d4aefe9e104453716aff5f47a42931e4 (diff) | |
download | mongo-02327e0ff4c1cfc33f36fa816f9ba63688e68248.tar.gz |
SERVER-39810 Make the new transaction format the default.
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/repl/oplog_applier.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/transaction_participant.idl | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/repl/oplog_applier.cpp b/src/mongo/db/repl/oplog_applier.cpp index 8770ce8b18d..48b8cda9cb9 100644 --- a/src/mongo/db/repl/oplog_applier.cpp +++ b/src/mongo/db/repl/oplog_applier.cpp @@ -167,8 +167,6 @@ bool isUnpreparedCommit(const OplogEntry& entry) { * of transaction. */ bool isUnpreparedApplyOps(const OplogEntry& entry) { - // TODO (SERVER-39810): Remove the check of the prepare flag in the root oplog level once the - // multiple oplog format becomes the default. return entry.getCommandType() == OplogEntry::CommandType::kApplyOps && !entry.shouldPrepare(); } diff --git a/src/mongo/db/transaction_participant.idl b/src/mongo/db/transaction_participant.idl index 6add17293df..55a408ac30e 100644 --- a/src/mongo/db/transaction_participant.idl +++ b/src/mongo/db/transaction_participant.idl @@ -63,7 +63,7 @@ server_parameters: set_at: startup cpp_vartype: bool cpp_varname: gUseMultipleOplogEntryFormatForTransactions - default: false + default: true maxNumberOfTransactionOperationsInSingleOplogEntry: description: >- |