ClickHouse/programs/keeper
Kevin Michel ffc1fca296
Start/stop servers when listen_host/*_port changes
This allows starting and stopping separately each protocol server
without restarting ClickHouse.

This also allows adding or removing `listen_host` entries, which
start and stops servers for all enabled ports.

When stopping a server, the listening socket is immediately closed
(and available for another server).

Protocols with persistent connections try to wait for any currently
running query to finish before closing the connection, but idle
connection are closed quickly (depending on how often the protocol
is polled).

An extra ProfileEvent is added, `MainConfigLoads`, it is
incremented every time the configuration is reloaded. This helps
when trying to assess whether the new configuration was applied.
2021-12-24 08:26:02 +01:00
..
clickhouse-keeper.cpp Some copy-paste 2021-05-12 13:39:07 +03:00
CMakeLists.txt Adds a better way to include binary resources 2021-06-09 14:03:30 -07:00
keeper_config.xml Fix default keeper port 2021-11-25 14:01:30 +03:00
keeper_embedded.xml Fix default keeper port 2021-11-25 14:01:30 +03:00
Keeper.cpp Start/stop servers when listen_host/*_port changes 2021-12-24 08:26:02 +01:00
Keeper.h Make ContextPtr const by default. 2021-05-31 17:49:02 +03:00