diff options
author | Louis Williams <louis.williams@mongodb.com> | 2018-06-26 14:29:03 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2018-08-08 16:09:13 -0400 |
commit | 840cf50e5b071103fca33ff24e39333064c07f18 (patch) | |
tree | 04bdbf1a8f418af01a911b907d747b68b8800dd5 /src/mongo/db/service_context_d_test_fixture.h | |
parent | 52b2cc0886cdb992e2491067bdc029301d5bb6af (diff) | |
download | mongo-840cf50e5b071103fca33ff24e39333064c07f18.tar.gz |
SERVER-28734 Recover WiredTiger data files when lacking metadata, but have _mdb_catalog data
Diffstat (limited to 'src/mongo/db/service_context_d_test_fixture.h')
-rw-r--r-- | src/mongo/db/service_context_d_test_fixture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/service_context_d_test_fixture.h b/src/mongo/db/service_context_d_test_fixture.h index e574c408d8f..f472f6bd492 100644 --- a/src/mongo/db/service_context_d_test_fixture.h +++ b/src/mongo/db/service_context_d_test_fixture.h @@ -40,18 +40,22 @@ namespace mongo { */ class ServiceContextMongoDTest : public ServiceContextTest { protected: + enum class RepairAction { kNoRepair, kRepair }; + ServiceContextMongoDTest(); /** * Build a ServiceContextMongoDTest, using the named storage engine. */ explicit ServiceContextMongoDTest(std::string engine); + ServiceContextMongoDTest(std::string engine, RepairAction repair); virtual ~ServiceContextMongoDTest(); private: struct { std::string engine; bool engineSetByUser; + bool repair; } _stashedStorageParams; unittest::TempDir _tempDir; }; |