summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog
diff options
context:
space:
mode:
authorDaniel Alabi <alabidan@gmail.com>2015-04-29 20:29:14 -0400
committerDaniel Alabi <alabidan@gmail.com>2015-04-29 20:47:01 -0400
commit82596f0aa2dda84b1bc97c8e0be2def934fe81da (patch)
treebf5efa25c4b8b24bb97ef5b3ae401fc7333deff7 /src/mongo/s/catalog
parent66a48710fcdfa9783d44f1b467a7bceb6df7dcd2 (diff)
downloadmongo-82596f0aa2dda84b1bc97c8e0be2def934fe81da.tar.gz
SERVER-18125 Don't join consistency checker thread
Before 336085ecb5e457194843d920eae5b0d42ea8b4b0, we leaked the thread. But now, each sharding test runs much slower when we join the consistency checker sharding thread probably because the thread sleeps for 60s on every iteration and also runs dbhash on the config collections.
Diffstat (limited to 'src/mongo/s/catalog')
-rw-r--r--src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp b/src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp
index 262d29721b7..5af37bb70b7 100644
--- a/src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp
+++ b/src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp
@@ -388,8 +388,6 @@ namespace {
void CatalogManagerLegacy::shutDown() {
invariant(_distLockManager);
_distLockManager->shutDown();
-
- _consistencyCheckerThread.join();
}
Status CatalogManagerLegacy::enableSharding(const std::string& dbName) {