mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
59d66bb1d5
This is needed to make clickhouse-copier work with cross-replication setups (also known as [circular replication][1]). When database name is not specified we rely on `<default_database>` element from replica stanza. Example: ```xml <source_cluster> <shard> <replica> <host>localhost</host> <port>9000</port> <default_database>r0</default_database> </replica> <replica> <host>localhost</host> <port>666</port> <default_database>r1</default_database> </replica> </shard> <shard> <replica> <host>localhost</host> <port>666</port> <default_database>r0</default_database> </replica> <replica> <host>localhost</host> <port>9000</port> <default_database>r1</default_database> </replica> </shard> </source_cluster> ``` [1]: https://www.altinity.com/blog/2018/5/10/circular-replication-cluster-topology-in-clickhouse |
||
---|---|---|
.. | ||
benchmark | ||
clang | ||
client | ||
compressor | ||
copier | ||
extract-from-config | ||
format | ||
local | ||
obfuscator | ||
odbc-bridge | ||
performance-test | ||
server | ||
clickhouse-split-helper | ||
CMakeLists.txt | ||
config_tools.h.in | ||
main.cpp |