Skip to content

Commit 3f97ae8

Browse files
committed
Followup fix
1 parent a382a4a commit 3f97ae8

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

programs/server/Server.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -990,16 +990,6 @@ int Server::main(const std::vector<std::string> & /*args*/)
990990
LOG_INFO(log, "Query Profiler and TraceCollector are disabled because they require PHDR cache to be created"
991991
" (otherwise the function 'dl_iterate_phdr' is not lock free and not async-signal safe).");
992992

993-
if (has_zookeeper && config().has("distributed_ddl"))
994-
{
995-
/// DDL worker should be started after all tables were loaded
996-
String ddl_zookeeper_path = config().getString("distributed_ddl.path", "/clickhouse/task_queue/ddl/");
997-
int pool_size = config().getInt("distributed_ddl.pool_size", 1);
998-
if (pool_size < 1)
999-
throw Exception("distributed_ddl.pool_size should be greater then 0", ErrorCodes::ARGUMENT_OUT_OF_BOUND);
1000-
global_context->setDDLWorker(std::make_unique<DDLWorker>(pool_size, ddl_zookeeper_path, *global_context, &config(), "distributed_ddl"));
1001-
}
1002-
1003993
std::unique_ptr<DNSCacheUpdater> dns_cache_updater;
1004994
if (config().has("disable_internal_dns_cache") && config().getInt("disable_internal_dns_cache"))
1005995
{

0 commit comments

Comments
 (0)