2021-09-19 22:38:53 +00:00
|
|
|
<clickhouse>
|
2020-04-06 10:33:59 +00:00
|
|
|
<remote_servers>
|
2024-03-18 14:52:16 +00:00
|
|
|
<!-- Remove the default remote server to avoid people depending on its hardcoded config
|
|
|
|
Use test_shard_localhost instead -->
|
|
|
|
<default remove="remove"></default>
|
2023-07-08 19:06:00 +00:00
|
|
|
<test_shard_localhost>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_shard_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>
|
2020-04-06 10:33:59 +00:00
|
|
|
<test_cluster_two_shards_different_databases>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_0</default_database>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_1</default_database>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
2021-04-28 18:26:12 +00:00
|
|
|
</test_cluster_two_shards_different_databases>
|
|
|
|
<test_cluster_one_shard_two_replicas>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
2021-03-29 20:21:08 +00:00
|
|
|
</test_cluster_one_shard_two_replicas>
|
2021-04-28 18:26:12 +00:00
|
|
|
<test_cluster_two_replicas_different_databases>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_0</default_database>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_1</default_database>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_two_replicas_different_databases>
|
2024-01-24 10:43:05 +00:00
|
|
|
<test_cluster_two_replicas_different_databases_internal_replication>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_0</default_database>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_1</default_database>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_two_replicas_different_databases_internal_replication>
|
2022-05-21 00:05:02 +00:00
|
|
|
<test_cluster_interserver_secret>
|
|
|
|
<secret>123457</secret>
|
|
|
|
<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_interserver_secret>
|
2022-11-27 23:41:31 +00:00
|
|
|
<test_cluster_two_shards_different_databases_with_local>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<default_database>shard_1</default_database>
|
|
|
|
<host>127.0.0.2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_two_shards_different_databases_with_local>
|
2023-07-08 19:06:00 +00:00
|
|
|
<parallel_replicas>
|
|
|
|
<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>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.4</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.5</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.6</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.7</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.8</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.9</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.10</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<!-- Unavailable replica -->
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.11</host>
|
|
|
|
<port>1234</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</parallel_replicas>
|
2024-01-19 12:51:30 +00:00
|
|
|
<test_cluster_1_shard_3_replicas_1_unavailable>
|
|
|
|
<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>
|
|
|
|
<!-- Unavailable replica -->
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.3</host>
|
|
|
|
<port>1234</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_1_shard_3_replicas_1_unavailable>
|
2023-07-08 19:06:00 +00:00
|
|
|
<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>
|
|
|
|
<!--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>
|
2023-08-05 23:19:09 +00:00
|
|
|
<test_cluster_two_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>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>false</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.4</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.5</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.6</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_two_shard_three_replicas_localhost>
|
2023-07-08 19:06:00 +00:00
|
|
|
<test_cluster_two_shards_localhost>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_two_shards_localhost>
|
|
|
|
<test_cluster_two_shards_internal_replication>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>127.0.0.2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_cluster_two_shards_internal_replication>
|
|
|
|
<test_shard_localhost_secure>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_shard_localhost_secure>
|
|
|
|
<test_unavailable_shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>1</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</test_unavailable_shard>
|
2020-04-06 10:33:59 +00:00
|
|
|
</remote_servers>
|
2021-09-19 22:38:53 +00:00
|
|
|
</clickhouse>
|