mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
22 lines
852 B
XML
22 lines
852 B
XML
<clickhouse>
|
|
<keeper_server>
|
|
<enable_reconfiguration>true</enable_reconfiguration>
|
|
|
|
<tcp_port>9181</tcp_port>
|
|
<server_id>2</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>
|
|
<operation_timeout_ms>5000</operation_timeout_ms>
|
|
<session_timeout_ms>10000</session_timeout_ms>
|
|
<raft_logs_level>trace</raft_logs_level>
|
|
</coordination_settings>
|
|
|
|
<raft_configuration>
|
|
<server> <id>1</id> <hostname>node1</hostname> <port>9234</port> </server>
|
|
<server> <id>2</id> <hostname>node2</hostname> <port>9234</port> </server>
|
|
</raft_configuration>
|
|
</keeper_server>
|
|
</clickhouse>
|