Merge pull request #2122 from proller/fix14

CLICKHOUSE-3630: Fix race on logger reload, enable reload
This commit is contained in:
alexey-milovidov 2018-03-29 04:30:30 +03:00 committed by GitHub
commit 54986af313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

2
contrib/poco vendored

@ -1 +1 @@
Subproject commit 8238852d7ab2a4abdf87adff233b3b83686f4fe4
Subproject commit 3dae7c46e813d884d15ff509f6dcc1693417646f

View File

@ -230,6 +230,7 @@ int Server::main(const std::vector<std::string> & /*args*/)
std::move(main_config_zk_node_cache),
[&](ConfigurationPtr config)
{
buildLoggers(*config);
global_context->setClustersConfig(config);
global_context->setMacros(std::make_unique<Macros>(*config, "macros"));
},