mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 03:53:41 +00:00
e33a2bf7bc
This stores Access Entities in ZooKeeper and replicates them across an entire cluster. This can be enabled by using the following configuration : <user_directories> <replicated> <zookeeper_path>/clickhouse/access/</zookeeper_path> </replicated> </user_directories>
23 lines
638 B
XML
23 lines
638 B
XML
<yandex>
|
|
<remote_servers>
|
|
<default>
|
|
<shard>
|
|
<internal_replication>true</internal_replication>
|
|
<replica>
|
|
<host>node1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>node2</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</default>
|
|
</remote_servers>
|
|
<user_directories replace="replace">
|
|
<replicated>
|
|
<zookeeper_path>/clickhouse/access</zookeeper_path>
|
|
</replicated>
|
|
</user_directories>
|
|
</yandex>
|