diff options
author | Louis Williams <louis.williams@mongodb.com> | 2018-06-26 14:29:03 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2018-07-10 15:31:33 -0400 |
commit | ca2b902002110013479af34f0ce6dee9906d9ad9 (patch) | |
tree | 1d30c86aac8ea372ee9fbf6d8d1fde02b41f2669 /src/mongo/db/service_context_d_test_fixture.h | |
parent | acd9fd112d1c2f591f04a31ed6489d9f4b0ec0e8 (diff) | |
download | mongo-ca2b902002110013479af34f0ce6dee9906d9ad9.tar.gz |
SERVER-28734 Provide a way to recover data files when lacking WiredTiger 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 19619f0d0fe..44e6a8df507 100644 --- a/src/mongo/db/service_context_d_test_fixture.h +++ b/src/mongo/db/service_context_d_test_fixture.h @@ -39,18 +39,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); + explicit ServiceContextMongoDTest(std::string engine, RepairAction repair); virtual ~ServiceContextMongoDTest(); private: struct { std::string engine; bool engineSetByUser; + bool repair; } _stashedStorageParams; }; |