ClickHouse/tests/integration/test_s3_cluster/configs/cluster.xml

57 lines
1.3 KiB
XML
Raw Normal View History

2021-03-24 23:22:23 +00:00
<clickhouse>
2021-03-24 23:22:23 +00:00
<remote_servers>
<cluster_simple>
<shard>
<replica>
<host>s0_0_0</host>
<port>9000</port>
</replica>
<replica>
<host>s0_0_1</host>
<port>9000</port>
</replica>
</shard>
<shard>
<replica>
<host>s0_1_0</host>
<port>9000</port>
</replica>
</shard>
2021-03-29 12:19:09 +00:00
</cluster_simple>
2021-03-24 23:22:23 +00:00
<!-- A part of the cluster above, represents only one shard-->
<first_shard>
<shard>
<replica>
<host>s0_0_0</host>
<port>9000</port>
</replica>
<replica>
<host>s0_0_1</host>
<port>9000</port>
</replica>
</shard>
</first_shard>
<cluster_non_existent_port>
<shard>
<replica>
<host>s0_0_0</host>
<port>9000</port>
</replica>
</shard>
<shard>
<replica>
<host>s0_0_0</host>
<port>19000</port>
</replica>
</shard>
</cluster_non_existent_port>
2021-03-29 12:19:09 +00:00
</remote_servers>
<macros>
<default_cluster_macro>cluster_simple</default_cluster_macro>
</macros>
</clickhouse>