CLICKHOUSE-3630: Fix race on logger reload, enable reload

This commit is contained in:
proller 2018-03-28 15:20:45 +03:00
parent 0d70314ead
commit 239f0974fa
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"));
},