diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2014-12-30 14:46:29 -0500 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2015-01-02 14:21:08 -0500 |
commit | 8b37507dd51cdf058377a24ca0171e7fae6f2c6b (patch) | |
tree | 1bea2528edb8df7cf70fda21f6894e59af820f60 /src/mongo/db/repair_database.h | |
parent | 430bafbd8643bd1d30513ad231850c6927e8553d (diff) | |
download | mongo-8b37507dd51cdf058377a24ca0171e7fae6f2c6b.tar.gz |
SERVER-16502: open database after repair is done
Diffstat (limited to 'src/mongo/db/repair_database.h')
-rw-r--r-- | src/mongo/db/repair_database.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repair_database.h b/src/mongo/db/repair_database.h index 85d2729a277..17fb58274aa 100644 --- a/src/mongo/db/repair_database.h +++ b/src/mongo/db/repair_database.h @@ -36,6 +36,11 @@ namespace mongo { class StorageEngine; class StringData; + /** + * Repairs a database using a storage engine-specific, best-effort process. + * Some data may be lost or modified in the process but the output will + * be structurally valid on successful return. + */ Status repairDatabase(OperationContext* txn, StorageEngine* engine, const std::string& dbName, |