2021-01-25 14:10:18 +00:00
|
|
|
<yandex>
|
2021-03-29 08:35:26 +00:00
|
|
|
<keeper_server>
|
2021-01-25 14:10:18 +00:00
|
|
|
<tcp_port>9181</tcp_port>
|
|
|
|
<server_id>2</server_id>
|
2021-02-16 19:29:09 +00:00
|
|
|
<log_storage_path>/var/lib/clickhouse/coordination/log</log_storage_path>
|
2021-03-03 11:10:24 +00:00
|
|
|
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path>
|
2021-02-09 14:47:18 +00:00
|
|
|
|
|
|
|
<coordination_settings>
|
|
|
|
<operation_timeout_ms>5000</operation_timeout_ms>
|
|
|
|
<session_timeout_ms>10000</session_timeout_ms>
|
2021-03-04 13:45:44 +00:00
|
|
|
<snapshot_distance>75</snapshot_distance>
|
2021-02-10 09:28:53 +00:00
|
|
|
<raft_logs_level>trace</raft_logs_level>
|
2021-02-09 14:47:18 +00:00
|
|
|
</coordination_settings>
|
|
|
|
|
2021-01-25 14:10:18 +00:00
|
|
|
<raft_configuration>
|
|
|
|
<server>
|
|
|
|
<id>1</id>
|
|
|
|
<hostname>node1</hostname>
|
|
|
|
<port>44444</port>
|
|
|
|
<can_become_leader>true</can_become_leader>
|
2021-02-11 09:49:49 +00:00
|
|
|
<priority>3</priority>
|
2021-01-25 14:10:18 +00:00
|
|
|
</server>
|
|
|
|
<server>
|
|
|
|
<id>2</id>
|
|
|
|
<hostname>node2</hostname>
|
2021-02-01 07:51:10 +00:00
|
|
|
<port>44444</port>
|
2021-01-28 12:07:26 +00:00
|
|
|
<can_become_leader>true</can_become_leader>
|
2021-02-11 10:25:10 +00:00
|
|
|
<start_as_follower>true</start_as_follower>
|
2021-02-11 09:49:49 +00:00
|
|
|
<priority>2</priority>
|
2021-01-25 14:10:18 +00:00
|
|
|
</server>
|
|
|
|
<server>
|
|
|
|
<id>3</id>
|
|
|
|
<hostname>node3</hostname>
|
2021-02-01 07:51:10 +00:00
|
|
|
<port>44444</port>
|
2021-01-28 12:07:26 +00:00
|
|
|
<can_become_leader>true</can_become_leader>
|
2021-02-11 10:25:10 +00:00
|
|
|
<start_as_follower>true</start_as_follower>
|
2021-02-11 09:49:49 +00:00
|
|
|
<priority>1</priority>
|
2021-01-25 14:10:18 +00:00
|
|
|
</server>
|
|
|
|
</raft_configuration>
|
2021-03-29 08:35:26 +00:00
|
|
|
</keeper_server>
|
2021-01-25 14:10:18 +00:00
|
|
|
</yandex>
|