ClickHouse/tests/integration/test_alternative_keeper_config/configs/enable_keeper3.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.5 KiB
XML
Raw Normal View History

2022-12-28 10:27:36 +00:00
<clickhouse>
<keeper_server>
<tcp_port>9181</tcp_port>
2023-03-23 12:58:39 +00:00
<server_id>3</server_id>
2022-12-28 10:27:36 +00:00
<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>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>
<raft_configuration>
<server>
<id>1</id>
<hostname>node1</hostname>
<port>9234</port>
<can_become_leader>true</can_become_leader>
<priority>3</priority>
</server>
<server>
<id>2</id>
<hostname>node2</hostname>
<port>9234</port>
<can_become_leader>true</can_become_leader>
<start_as_follower>true</start_as_follower>
<priority>2</priority>
</server>
2023-03-23 12:58:39 +00:00
<server>
<id>3</id>
<hostname>node3</hostname>
<port>9234</port>
<can_become_leader>true</can_become_leader>
<start_as_follower>true</start_as_follower>
<priority>3</priority>
</server>
2022-12-28 10:27:36 +00:00
</raft_configuration>
</keeper_server>
</clickhouse>