diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-12-04 18:24:21 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-12-08 11:35:38 -0500 |
commit | 4bc54acaa78773dcf2fea55d4690e37b6e84aa0a (patch) | |
tree | 1eb70f491678049ef3350e1a800994ca20d657f7 /src/mongo/db/db.cpp | |
parent | d8dc1d99e730ae829f978f471c8da5f88ffc7f17 (diff) | |
download | mongo-4bc54acaa78773dcf2fea55d4690e37b6e84aa0a.tar.gz |
SERVER-16173 Rewrite repair for KVEngines
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r-- | src/mongo/db/db.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index 76fe8f18e47..b7693bdfe16 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -71,6 +71,7 @@ #include "mongo/db/operation_context_impl.h" #include "mongo/db/query/internal_plans.h" #include "mongo/db/range_deleter_service.h" +#include "mongo/db/repair_database.h" #include "mongo/db/repl/network_interface_impl.h" #include "mongo/db/repl/repl_coordinator_external_state_impl.h" #include "mongo/db/repl/repl_coordinator_global.h" @@ -338,7 +339,7 @@ namespace mongo { const string dbName = *i; LOG(1) << " Repairing database: " << dbName << endl; - fassert(18506, storageEngine->repairDatabase(&txn, dbName)); + fassert(18506, repairDatabase(&txn, storageEngine, dbName)); } } |