mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
102 lines
3.4 KiB
XML
102 lines
3.4 KiB
XML
<clickhouse>
|
|
<zookeeper>
|
|
<node index="1">
|
|
<host>localhost</host>
|
|
<port>9181</port>
|
|
</node>
|
|
<node index="2">
|
|
<host>localhost</host>
|
|
<port>19181</port>
|
|
</node>
|
|
<node index="3">
|
|
<host>localhost</host>
|
|
<port>29181</port>
|
|
</node>
|
|
</zookeeper>
|
|
|
|
<auxiliary_zookeepers>
|
|
<zookeeper2>
|
|
<node index="1">
|
|
<host>localhost</host>
|
|
<port>9181</port>
|
|
</node>
|
|
<node index="2">
|
|
<host>localhost</host>
|
|
<port>19181</port>
|
|
</node>
|
|
<node index="3">
|
|
<host>localhost</host>
|
|
<port>29181</port>
|
|
</node>
|
|
<root>/test/chroot/auxiliary_zookeeper2</root>
|
|
</zookeeper2>
|
|
</auxiliary_zookeepers>
|
|
|
|
<keeper_server>
|
|
<tcp_port>9181</tcp_port>
|
|
<server_id>1</server_id>
|
|
|
|
<coordination_settings>
|
|
<operation_timeout_ms>10000</operation_timeout_ms>
|
|
<session_timeout_ms>30000</session_timeout_ms>
|
|
<heart_beat_interval_ms>1000</heart_beat_interval_ms>
|
|
<election_timeout_lower_bound_ms>2000</election_timeout_lower_bound_ms>
|
|
<election_timeout_upper_bound_ms>5000</election_timeout_upper_bound_ms>
|
|
<raft_logs_level>information</raft_logs_level>
|
|
<force_sync>false</force_sync>
|
|
<!-- we want all logs for complex problems investigation -->
|
|
<reserved_log_items>1000000000000000</reserved_log_items>
|
|
</coordination_settings>
|
|
|
|
<raft_configuration>
|
|
<server>
|
|
<id>1</id>
|
|
<hostname>localhost</hostname>
|
|
<port>9234</port>
|
|
<can_become_leader>true</can_become_leader>
|
|
<priority>3</priority>
|
|
</server>
|
|
<server>
|
|
<id>2</id>
|
|
<hostname>localhost</hostname>
|
|
<port>9235</port>
|
|
<can_become_leader>true</can_become_leader>
|
|
<start_as_follower>true</start_as_follower>
|
|
<priority>2</priority>
|
|
</server>
|
|
<server>
|
|
<id>3</id>
|
|
<hostname>localhost</hostname>
|
|
<port>9236</port>
|
|
<can_become_leader>true</can_become_leader>
|
|
<start_as_follower>true</start_as_follower>
|
|
<priority>1</priority>
|
|
</server>
|
|
</raft_configuration>
|
|
</keeper_server>
|
|
|
|
<remote_servers>
|
|
<test_cluster_database_replicated>
|
|
<shard>
|
|
<replica>
|
|
<host>localhost</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>localhost</host>
|
|
<port>19000</port>
|
|
</replica>
|
|
</shard>
|
|
<shard>
|
|
<replica>
|
|
<host>localhost</host>
|
|
<port>29000</port>
|
|
</replica>
|
|
</shard>
|
|
</test_cluster_database_replicated>
|
|
</remote_servers>
|
|
|
|
<_functional_tests_helper_database_replicated_replace_args_macros>1</_functional_tests_helper_database_replicated_replace_args_macros>
|
|
<max_database_replicated_create_table_thread_pool_size>50</max_database_replicated_create_table_thread_pool_size>
|
|
</clickhouse>
|