diff options
author | Randolph Tan <randolph@10gen.com> | 2017-03-08 11:31:04 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-03-08 17:59:35 -0500 |
commit | 34dbe2a42d1db621f16555878b57f48efb30cc28 (patch) | |
tree | e8533f9703177022e21073a1b5a3fceb76b5b178 /src/mongo/db/s/sharding_initialization_mongod.cpp | |
parent | 91cf24955de997983ab675e35c98ccfa1e608d62 (diff) | |
download | mongo-34dbe2a42d1db621f16555878b57f48efb30cc28.tar.gz |
SERVER-27750 Attach LogicalTimeMetadata to globalConnPool and shardConnectionPool
This also include refactor work to cleanup ShardingEgressMetadataHook api and allow ShardingConnectionHook to take EgressMetadataHookList.
Diffstat (limited to 'src/mongo/db/s/sharding_initialization_mongod.cpp')
-rw-r--r-- | src/mongo/db/s/sharding_initialization_mongod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/sharding_initialization_mongod.cpp b/src/mongo/db/s/sharding_initialization_mongod.cpp index b329a325423..2e536dbbb0b 100644 --- a/src/mongo/db/s/sharding_initialization_mongod.cpp +++ b/src/mongo/db/s/sharding_initialization_mongod.cpp @@ -92,7 +92,7 @@ Status initializeGlobalShardingStateForMongod(OperationContext* opCtx, auto hookList = stdx::make_unique<rpc::EgressMetadataHookList>(); hookList->addHook( stdx::make_unique<rpc::LogicalTimeMetadataHook>(opCtx->getServiceContext())); - hookList->addHook(stdx::make_unique<rpc::ShardingEgressMetadataHookForMongod>()); + hookList->addHook(stdx::make_unique<rpc::ShardingEgressMetadataHookForMongod>(false)); return hookList; }, [](ShardingCatalogClient* catalogClient, std::unique_ptr<executor::TaskExecutor> executor) |