mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update replication.md
This commit is contained in:
parent
a4f8a5390e
commit
e476dcdba7
@ -38,15 +38,15 @@ Example of setting the addresses of the ZooKeeper cluster:
|
|||||||
|
|
||||||
``` xml
|
``` xml
|
||||||
<zookeeper>
|
<zookeeper>
|
||||||
<node index="1">
|
<node>
|
||||||
<host>example1</host>
|
<host>example1</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
<node index="2">
|
<node>
|
||||||
<host>example2</host>
|
<host>example2</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
<node index="3">
|
<node>
|
||||||
<host>example3</host>
|
<host>example3</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
@ -61,21 +61,21 @@ Example of setting the addresses of the auxiliary ZooKeeper cluster:
|
|||||||
``` xml
|
``` xml
|
||||||
<auxiliary_zookeepers>
|
<auxiliary_zookeepers>
|
||||||
<zookeeper2>
|
<zookeeper2>
|
||||||
<node index="1">
|
<node>
|
||||||
<host>example_2_1</host>
|
<host>example_2_1</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
<node index="2">
|
<node>
|
||||||
<host>example_2_2</host>
|
<host>example_2_2</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
<node index="3">
|
<node>
|
||||||
<host>example_2_3</host>
|
<host>example_2_3</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
</zookeeper2>
|
</zookeeper2>
|
||||||
<zookeeper3>
|
<zookeeper3>
|
||||||
<node index="1">
|
<node>
|
||||||
<host>example_3_1</host>
|
<host>example_3_1</host>
|
||||||
<port>2181</port>
|
<port>2181</port>
|
||||||
</node>
|
</node>
|
||||||
|
Loading…
Reference in New Issue
Block a user