diff options
author | Randolph Tan <randolph@10gen.com> | 2020-12-15 18:41:14 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-17 21:16:53 +0000 |
commit | 6364c95692fbf3cd48c5ba13772eede90b61fe86 (patch) | |
tree | ea832087fea452fde6ca8678277147a958bad8b2 /src/mongo/db/transaction_history_iterator_test.cpp | |
parent | f6abb42a511110023ceb130e45787ff881e7a2e9 (diff) | |
download | mongo-6364c95692fbf3cd48c5ba13772eede90b61fe86.tar.gz |
SERVER-49904 Create new oplog type to attach metadata during runtime
Diffstat (limited to 'src/mongo/db/transaction_history_iterator_test.cpp')
-rw-r--r-- | src/mongo/db/transaction_history_iterator_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_history_iterator_test.cpp b/src/mongo/db/transaction_history_iterator_test.cpp index f165b216418..f6d97a50229 100644 --- a/src/mongo/db/transaction_history_iterator_test.cpp +++ b/src/mongo/db/transaction_history_iterator_test.cpp @@ -60,7 +60,7 @@ namespace { repl::OplogEntry makeOplogEntry(repl::OpTime opTime, BSONObj docToInsert, boost::optional<repl::OpTime> prevWriteOpTimeInTransaction) { - return repl::OplogEntry( + return {repl::DurableOplogEntry( opTime, // optime 0, // hash repl::OpTypeEnum::kInsert, // opType @@ -78,7 +78,7 @@ repl::OplogEntry makeOplogEntry(repl::OpTime opTime, boost::none, // pre-image optime boost::none, // post-image optime boost::none, // ShardId of resharding recipient - boost::none); // _id + boost::none)}; // _id } } // namespace |