2021-09-19 22:38:53 +00:00
|
|
|
<clickhouse>
|
2022-11-07 08:49:26 +00:00
|
|
|
<listen_host>::</listen_host>
|
2021-05-12 13:31:29 +00:00
|
|
|
|
|
|
|
<logger>
|
|
|
|
<level>trace</level>
|
|
|
|
<log>/var/log/clickhouse-keeper/clickhouse-keeper.log</log>
|
|
|
|
<errorlog>/var/log/clickhouse-keeper/clickhouse-keeper.err.log</errorlog>
|
2022-05-26 14:54:46 +00:00
|
|
|
<size>never</size>
|
2021-05-12 13:31:29 +00:00
|
|
|
</logger>
|
|
|
|
|
2021-03-29 08:24:56 +00:00
|
|
|
<keeper_server>
|
2021-03-10 16:12:32 +00:00
|
|
|
<tcp_port>9181</tcp_port>
|
2022-11-04 13:04:29 +00:00
|
|
|
<server_id>1</server_id>
|
2021-03-10 16:12:32 +00:00
|
|
|
|
|
|
|
<coordination_settings>
|
|
|
|
<operation_timeout_ms>10000</operation_timeout_ms>
|
|
|
|
<session_timeout_ms>30000</session_timeout_ms>
|
|
|
|
<force_sync>false</force_sync>
|
2021-03-22 10:06:09 +00:00
|
|
|
<startup_timeout>120000</startup_timeout>
|
2021-03-10 16:12:32 +00:00
|
|
|
<raft_logs_level>trace</raft_logs_level>
|
2021-04-02 12:40:07 +00:00
|
|
|
<heart_beat_interval_ms>1000</heart_beat_interval_ms>
|
2021-04-02 12:40:25 +00:00
|
|
|
<election_timeout_lower_bound_ms>2000</election_timeout_lower_bound_ms>
|
|
|
|
<election_timeout_upper_bound_ms>4000</election_timeout_upper_bound_ms>
|
2023-08-09 06:25:47 +00:00
|
|
|
<async_replication>1</async_replication>
|
2021-03-10 16:12:32 +00:00
|
|
|
</coordination_settings>
|
|
|
|
|
|
|
|
<raft_configuration>
|
|
|
|
<server>
|
|
|
|
<id>1</id>
|
|
|
|
<hostname>{srv1}</hostname>
|
|
|
|
<port>9444</port>
|
|
|
|
</server>
|
|
|
|
</raft_configuration>
|
2021-03-29 08:24:56 +00:00
|
|
|
</keeper_server>
|
2021-09-19 22:38:53 +00:00
|
|
|
</clickhouse>
|