diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2016-03-15 06:52:29 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2016-03-24 09:54:11 -0400 |
commit | 3fb60720a0df562d176887f95925f7562bb50f8c (patch) | |
tree | b90c9eb0417f632609fa296d4026221919fe46af /src/mongo/db/repl/oplog_entry.h | |
parent | 491764cac9fc91093793e647d913738c8a14e8ae (diff) | |
download | mongo-3fb60720a0df562d176887f95925f7562bb50f8c.tar.gz |
SERVER-22858 create a new Applier which wraps multiApply
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r-- | src/mongo/db/repl/oplog_entry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_entry.h b/src/mongo/db/repl/oplog_entry.h index 08fd1c8d95a..90f7bdbe8bc 100644 --- a/src/mongo/db/repl/oplog_entry.h +++ b/src/mongo/db/repl/oplog_entry.h @@ -30,6 +30,8 @@ #include "mongo/bson/bsonobj.h" +#include "mongo/db/repl/optime.h" + namespace mongo { namespace repl { @@ -52,8 +54,11 @@ struct OplogEntry { bool isForCappedCollection = false; bool isCommand() const; + bool isCrudOpType() const; bool hasNamespace() const; int getVersion() const; + BSONElement getIdElement() const; + OpTime getOpTime() const; Seconds getTimestampSecs() const; StringData getCollectionName() const; std::string toString() const; |