summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_resolver_test.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/sync_source_resolver_test.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/sync_source_resolver_test.cpp')
-rw-r--r--src/mongo/db/repl/sync_source_resolver_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/sync_source_resolver_test.cpp b/src/mongo/db/repl/sync_source_resolver_test.cpp
index e6639fee1c9..4a7ff632e0e 100644
--- a/src/mongo/db/repl/sync_source_resolver_test.cpp
+++ b/src/mongo/db/repl/sync_source_resolver_test.cpp
@@ -307,6 +307,7 @@ BSONObj _makeOplogEntry(Timestamp ts, long long term) {
BSONObj(), // o
boost::none, // o2
{}, // sessionInfo
+ boost::none, // upsert
boost::none, // wall clock time
boost::none, // statement id
boost::none, // optime of previous write within same transaction