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>
|
|
|
|
<server_id>{id}</server_id>
|
|
|
|
|
|
|
|
<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>
|
2022-09-17 17:22:58 +00:00
|
|
|
<quorum_reads>{quorum_reads}</quorum_reads>
|
2021-03-17 11:35:37 +00:00
|
|
|
<snapshot_distance>{snapshot_distance}</snapshot_distance>
|
|
|
|
<stale_log_gap>{stale_log_gap}</stale_log_gap>
|
|
|
|
<reserved_log_items>{reserved_log_items}</reserved_log_items>
|
2021-03-10 16:12:32 +00:00
|
|
|
</coordination_settings>
|
|
|
|
|
|
|
|
<raft_configuration>
|
|
|
|
<server>
|
|
|
|
<id>1</id>
|
|
|
|
<hostname>{srv1}</hostname>
|
|
|
|
<port>9444</port>
|
|
|
|
</server>
|
|
|
|
<server>
|
|
|
|
<id>2</id>
|
|
|
|
<hostname>{srv2}</hostname>
|
|
|
|
<port>9444</port>
|
|
|
|
</server>
|
|
|
|
<server>
|
|
|
|
<id>3</id>
|
|
|
|
<hostname>{srv3}</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>
|