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/repl/sync_source_resolver_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/repl/sync_source_resolver_test.cpp')
-rw-r--r-- | src/mongo/db/repl/sync_source_resolver_test.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mongo/db/repl/sync_source_resolver_test.cpp b/src/mongo/db/repl/sync_source_resolver_test.cpp index 37e42fcc4fe..1382b8b73c7 100644 --- a/src/mongo/db/repl/sync_source_resolver_test.cpp +++ b/src/mongo/db/repl/sync_source_resolver_test.cpp @@ -311,24 +311,24 @@ void _scheduleFirstOplogEntryFetcherResponse(executor::NetworkInterfaceMock* net * Generates oplog entries with the given optime. */ BSONObj _makeOplogEntry(Timestamp ts, long long term) { - return OplogEntry(OpTime(ts, term), // optime - boost::none, // hash - OpTypeEnum::kNoop, // op type - NamespaceString("a.a"), // namespace - boost::none, // uuid - boost::none, // fromMigrate - repl::OplogEntry::kOplogVersion, // version - BSONObj(), // o - boost::none, // o2 - {}, // sessionInfo - boost::none, // upsert - Date_t(), // wall clock time - boost::none, // statement id - boost::none, // optime of previous write within same transaction - boost::none, // pre-image optime - boost::none, // post-image optime - boost::none, // ShardId of resharding recipient - boost::none) // _id + return DurableOplogEntry(OpTime(ts, term), // optime + boost::none, // hash + OpTypeEnum::kNoop, // op type + NamespaceString("a.a"), // namespace + boost::none, // uuid + boost::none, // fromMigrate + repl::OplogEntry::kOplogVersion, // version + BSONObj(), // o + boost::none, // o2 + {}, // sessionInfo + boost::none, // upsert + Date_t(), // wall clock time + boost::none, // statement id + boost::none, // optime of previous write within same transaction + boost::none, // pre-image optime + boost::none, // post-image optime + boost::none, // ShardId of resharding recipient + boost::none) // _id .toBSON(); } |