mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<clickhouse>
|
|
<keeper_server>
|
|
<tcp_port>9181</tcp_port>
|
|
<server_id>1</server_id>
|
|
<log_storage_path>/var/lib/clickhouse/coordination/log</log_storage_path>
|
|
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path>
|
|
|
|
<coordination_settings>
|
|
<snapshot_distance>10</snapshot_distance>
|
|
<reserved_log_items>5</reserved_log_items>
|
|
<operation_timeout_ms>5000</operation_timeout_ms>
|
|
<session_timeout_ms>10000</session_timeout_ms>
|
|
<raft_logs_level>trace</raft_logs_level>
|
|
|
|
<!-- For instant start in single node configuration -->
|
|
<heart_beat_interval_ms>0</heart_beat_interval_ms>
|
|
<election_timeout_lower_bound_ms>0</election_timeout_lower_bound_ms>
|
|
<election_timeout_upper_bound_ms>0</election_timeout_upper_bound_ms>
|
|
</coordination_settings>
|
|
|
|
<raft_configuration>
|
|
<server>
|
|
<id>1</id>
|
|
<hostname>localhost</hostname>
|
|
<port>9234</port>
|
|
</server>
|
|
</raft_configuration>
|
|
</keeper_server>
|
|
</clickhouse>
|