summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.cpp
diff options
context:
space:
mode:
authorIan Kuehne <ian.kuehne@mongodb.com>2017-08-09 13:34:27 -0400
committerIan Kuehne <ian.kuehne@mongodb.com>2017-08-22 13:56:49 -0400
commit324bc4e858959bbd77d111bddb4b166048723312 (patch)
tree7d0cda13d19fed3b6999c9955eb63139720eda53 /src/mongo/db/repl/oplog_entry.cpp
parent1602ed3a3b4b101f88be519b13dd69b1c0f04343 (diff)
downloadmongo-324bc4e858959bbd77d111bddb4b166048723312.tar.gz
SERVER-30573 Add dbCheck command.
Also includes fixes for SERVER-30439, SERVER-30422 and SERVER-30618.
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.cpp')
-rw-r--r--src/mongo/db/repl/oplog_entry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_entry.cpp b/src/mongo/db/repl/oplog_entry.cpp
index d2e9416e407..daf80a548ba 100644
--- a/src/mongo/db/repl/oplog_entry.cpp
+++ b/src/mongo/db/repl/oplog_entry.cpp
@@ -52,6 +52,8 @@ OplogEntry::CommandType parseCommandType(const BSONObj& objectField) {
return OplogEntry::CommandType::kCollMod;
} else if (commandString == "applyOps") {
return OplogEntry::CommandType::kApplyOps;
+ } else if (commandString == "dbCheck") {
+ return OplogEntry::CommandType::kDbCheck;
} else if (commandString == "dropDatabase") {
return OplogEntry::CommandType::kDropDatabase;
} else if (commandString == "emptycapped") {