ClickHouse/tests/integration/test_cross_replication/configs/remote_servers.xml

46 lines
1.6 KiB
XML
Raw Normal View History

<yandex>
<remote_servers>
<test_cluster>
<shard>
<internal_replication>true</internal_replication>
<replica>
<default_database>shard_0</default_database>
<host>node1</host>
<port>9000</port>
</replica>
<replica>
<default_database>shard_0</default_database>
<host>node2</host>
<port>9000</port>
</replica>
</shard>
<shard>
<internal_replication>true</internal_replication>
<replica>
<default_database>shard_1</default_database>
<host>node2</host>
<port>9000</port>
</replica>
<replica>
<default_database>shard_1</default_database>
<host>node3</host>
<port>9000</port>
</replica>
</shard>
<shard>
<internal_replication>true</internal_replication>
<replica>
<default_database>shard_2</default_database>
<host>node3</host>
<port>9000</port>
</replica>
<replica>
<default_database>shard_2</default_database>
<host>node1</host>
<port>9000</port>
</replica>
</shard>
</test_cluster>
</remote_servers>
</yandex>