diff options
author | Randolph Tan <randolph@10gen.com> | 2018-03-01 14:03:07 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2018-03-12 13:29:33 -0400 |
commit | f23b7e7bf3a2960b76a29709a7adeba0effa6b42 (patch) | |
tree | d1d8e4f95f9b7a5f2cb86514732ed58a2f5b513e /src/mongo/db/repl/idempotency_test_fixture.cpp | |
parent | d3dcbd8a7c07f8c60b2b1e4da935fdcab53b9267 (diff) | |
download | mongo-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.cpp | 1 |
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 |