mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
2db092f9d8
At first, there was no such amount of clusters in dist config, they added when someone need to write some new cluster for tests. So let's move them to the clusters.xml that is deployed only for tests, and leave only default cluster. And cleanup also some configs that had been copied from dist config in the repo (about test_config_* integration tests, this should be OK, since there are more_clusters.xml as well, that covers additional cases). Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
<clickhouse>
|
|
<remote_servers>
|
|
<test_cluster_one_shard_three_replicas_localhost>
|
|
<shard>
|
|
<internal_replication>false</internal_replication>
|
|
<replica>
|
|
<host>127.0.0.1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>127.0.0.2</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>127.0.0.3</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</test_cluster_one_shard_three_replicas_localhost>
|
|
<test_cluster_two_shards>
|
|
<shard>
|
|
<replica>
|
|
<host>127.0.0.1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
<shard>
|
|
<replica>
|
|
<host>127.0.0.2</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</test_cluster_two_shards>
|
|
</remote_servers>
|
|
|
|
<named_collections>
|
|
<url1>
|
|
<url>http://nginx:80/test_{_partition_id}</url>
|
|
<method>PUT</method>
|
|
<format>TSV</format>
|
|
<structure>column1 UInt32, column2 UInt32, column3 UInt32</structure>
|
|
</url1>
|
|
<url_file>
|
|
<method>PUT</method>
|
|
<structure>column1 UInt32, column2 UInt32, column3 UInt32</structure>
|
|
</url_file>
|
|
</named_collections>
|
|
</clickhouse>
|