summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context_d_test_fixture.cpp
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-08-31 22:59:54 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-03 02:25:59 +0000
commit8e64b07e3bb363347ee2c11a56aba873365ed74a (patch)
tree254adb32fe6c880b90cf1ba948f111bf6ca7d463 /src/mongo/db/service_context_d_test_fixture.cpp
parent2756fa678945f890c73318efa72d3793c6e918d8 (diff)
downloadmongo-8e64b07e3bb363347ee2c11a56aba873365ed74a.tar.gz
SERVER-43664 Speedup WiredTiger storage engine startup for many tables by optimizing WiredTigerUtil::setTableLogging()
Diffstat (limited to 'src/mongo/db/service_context_d_test_fixture.cpp')
-rw-r--r--src/mongo/db/service_context_d_test_fixture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/service_context_d_test_fixture.cpp b/src/mongo/db/service_context_d_test_fixture.cpp
index 1e9fc8208a7..08192fd53fb 100644
--- a/src/mongo/db/service_context_d_test_fixture.cpp
+++ b/src/mongo/db/service_context_d_test_fixture.cpp
@@ -106,6 +106,7 @@ ServiceContextMongoDTest::ServiceContextMongoDTest(std::string engine, RepairAct
CollectionShardingStateFactory::set(
getServiceContext(),
std::make_unique<CollectionShardingStateFactoryShard>(getServiceContext()));
+ getServiceContext()->getStorageEngine()->notifyStartupComplete();
}
ServiceContextMongoDTest::~ServiceContextMongoDTest() {