summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/idempotency_test_fixture.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2018-03-01 14:03:07 -0500
committerRandolph Tan <randolph@10gen.com>2018-03-12 13:29:33 -0400
commitf23b7e7bf3a2960b76a29709a7adeba0effa6b42 (patch)
treed1d8e4f95f9b7a5f2cb86514732ed58a2f5b513e /src/mongo/db/repl/idempotency_test_fixture.cpp
parentd3dcbd8a7c07f8c60b2b1e4da935fdcab53b9267 (diff)
downloadmongo-f23b7e7bf3a2960b76a29709a7adeba0effa6b42.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/repl/idempotency_test_fixture.cpp')
-rw-r--r--src/mongo/db/repl/idempotency_test_fixture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/idempotency_test_fixture.cpp b/src/mongo/db/repl/idempotency_test_fixture.cpp
index 8dc9b4823e5..61f02153c77 100644
--- a/src/mongo/db/repl/idempotency_test_fixture.cpp
+++ b/src/mongo/db/repl/idempotency_test_fixture.cpp
@@ -82,6 +82,7 @@ repl::OplogEntry makeOplogEntry(repl::OpTime opTime,
object, // o
object2, // o2
sessionInfo, // sessionInfo
+ boost::none, // upsert
wallClockTime, // wall clock time
stmtId, // statement id
boost::none, // optime of previous write within same transaction