diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2019-03-29 12:01:50 -0400 |
---|---|---|
committer | Ben Caimano <ben.caimano@10gen.com> | 2019-04-01 16:13:04 -0400 |
commit | cbe3968ce01e4a749756422893b7274100675705 (patch) | |
tree | 6b881bba7e2c0ae53d5964e1f452b1a115c86d9c /src/mongo/db/s/sharding_initialization_mongod.cpp | |
parent | 6803c64d71c1104634a9dc18e8e9d368ed6be228 (diff) | |
download | mongo-cbe3968ce01e4a749756422893b7274100675705.tar.gz |
SERVER-40387 Shutdown shard registry after catalog cache
Diffstat (limited to 'src/mongo/db/s/sharding_initialization_mongod.cpp')
-rw-r--r-- | src/mongo/db/s/sharding_initialization_mongod.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/sharding_initialization_mongod.cpp b/src/mongo/db/s/sharding_initialization_mongod.cpp index d7897df0c79..c331d15c3aa 100644 --- a/src/mongo/db/s/sharding_initialization_mongod.cpp +++ b/src/mongo/db/s/sharding_initialization_mongod.cpp @@ -165,6 +165,7 @@ void ShardingInitializationMongoD::shutDown(OperationContext* opCtx) { grid->getExecutorPool()->shutdownAndJoin(); grid->catalogClient()->shutDown(opCtx); + grid->shardRegistry()->shutdown(); } bool ShardingInitializationMongoD::initializeShardingAwarenessIfNeeded(OperationContext* opCtx) { |