summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail_test.cpp
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2019-05-12 18:46:02 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2019-05-21 16:14:23 -0400
commiteeccd88d262c45392ec9a642f57415cba36463e2 (patch)
treec02e32abc331732683c13cee88f2fdbd61953956 /src/mongo/db/repl/sync_tail_test.cpp
parent62906f2fae85fc734e52e7190799072717374cbb (diff)
downloadmongo-eeccd88d262c45392ec9a642f57415cba36463e2.tar.gz
SERVER-39809 Remove the prepare root field of oplog entry
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test.cpp')
-rw-r--r--src/mongo/db/repl/sync_tail_test.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mongo/db/repl/sync_tail_test.cpp b/src/mongo/db/repl/sync_tail_test.cpp
index dca835707aa..cd063989a04 100644
--- a/src/mongo/db/repl/sync_tail_test.cpp
+++ b/src/mongo/db/repl/sync_tail_test.cpp
@@ -98,8 +98,7 @@ OplogEntry makeOplogEntry(OpTypeEnum opType, NamespaceString nss, OptionalCollec
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); // prepare
+ boost::none); // post-image optime
}
/**
@@ -2479,8 +2478,7 @@ public:
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); // prepare
+ boost::none); // post-image optime
}
/**
@@ -2508,8 +2506,7 @@ public:
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); // prepare
+ boost::none); // post-image optime
}
void checkTxnTable(const OperationSessionInfo& sessionInfo,