diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2019-04-10 19:17:46 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2019-04-25 12:41:27 -0400 |
commit | 62a83fde9e2bd143000cfc42c8c134365a3b50b1 (patch) | |
tree | e5439ee0f4aeeecde2cbe025bff128e9ae7f0d74 /src/mongo/db/repl/oplog.cpp | |
parent | db0e16980ad20eeb9d4c7cc7e07f64409fc3edb9 (diff) | |
download | mongo-62a83fde9e2bd143000cfc42c8c134365a3b50b1.tar.gz |
SERVER-40673 Support applyOps with partialTxn on secondary for transactions.
Diffstat (limited to 'src/mongo/db/repl/oplog.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index 81c512f15dd..7041bddc2bf 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -1324,6 +1324,7 @@ Status applyOperation_inlock(OperationContext* opCtx, mode == repl::OplogApplication::Mode::kApplyOpsCmd || opCtx->writesAreReplicated(); OpCounters* opCounters = shouldUseGlobalOpCounters ? &globalOpCounters : &replOpCounters; + // TODO(SERVER-40763): Remove "inTxn" entirely. std::array<StringData, 9> names = {"ts", "t", "o", "ui", "ns", "op", "b", "o2", "inTxn"}; std::array<BSONElement, 9> fields; op.getFields(names, &fields); |