summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops_retryability_test.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2018-03-14 15:41:36 -0400
committerRandolph Tan <randolph@10gen.com>2018-03-15 14:05:56 -0400
commitaa78106c9e096b74d1a2247878ca6bd06fb29bed (patch)
tree5140e1b84f1596bf96884ae19624a3e6e23cda2d /src/mongo/db/ops/write_ops_retryability_test.cpp
parent864e2e71c39d1e39ff0d1e8575a02b8afebb8a7b (diff)
downloadmongo-aa78106c9e096b74d1a2247878ca6bd06fb29bed.tar.gz
SERVER-32445 config.transactions table can get out of sync when the TransactionReaper remove entries
Secondary replication of config.transactions table is now changed to create oplog entries of the actual updates to mirror what the primary would have done.
Diffstat (limited to 'src/mongo/db/ops/write_ops_retryability_test.cpp')
-rw-r--r--src/mongo/db/ops/write_ops_retryability_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/ops/write_ops_retryability_test.cpp b/src/mongo/db/ops/write_ops_retryability_test.cpp
index b7c403cf0f4..f1371a79e21 100644
--- a/src/mongo/db/ops/write_ops_retryability_test.cpp
+++ b/src/mongo/db/ops/write_ops_retryability_test.cpp
@@ -68,6 +68,7 @@ repl::OplogEntry makeOplogEntry(repl::OpTime opTime,
oField, // o
o2Field, // o2
{}, // sessionInfo
+ boost::none, // upsert
boost::none, // wall clock time
boost::none, // statement id
boost::none, // optime of previous write within same transaction