summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_change_stream_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/pipeline/document_source_change_stream_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/pipeline/document_source_change_stream_test.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_change_stream_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream_test.cpp b/src/mongo/db/pipeline/document_source_change_stream_test.cpp
index 157c4157a02..4310dbb5419 100644
--- a/src/mongo/db/pipeline/document_source_change_stream_test.cpp
+++ b/src/mongo/db/pipeline/document_source_change_stream_test.cpp
@@ -92,6 +92,7 @@ repl::OplogEntry makeOplogEntry(repl::OpTypeEnum opType,
object, // o
object2, // o2
{}, // sessionInfo
+ boost::none, // upsert
boost::none, // wall clock time
boost::none, // statement id
boost::none, // optime of previous write within same transaction