diff options
author | Ian Kuehne <ian.kuehne@mongodb.com> | 2017-08-09 13:34:27 -0400 |
---|---|---|
committer | Ian Kuehne <ian.kuehne@mongodb.com> | 2017-08-22 13:56:49 -0400 |
commit | 324bc4e858959bbd77d111bddb4b166048723312 (patch) | |
tree | 7d0cda13d19fed3b6999c9955eb63139720eda53 /src/mongo/db/repl/oplog_entry.cpp | |
parent | 1602ed3a3b4b101f88be519b13dd69b1c0f04343 (diff) | |
download | mongo-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.cpp | 2 |
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") { |