mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
e4c8c4cecf
* Add zookeeper name in endpoint id When we migrate a replicated table from one zookeeper cluster to another (the reason why we migration is that zookeeper's load is too high), we will create a new table with the same zpath, but it will fail and the old table will be in trouble. Here is some infomation: 1.old table: CREATE TABLE a1 (`id` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/default/a1/{shard}', '{replica}') ORDER BY (id); 2.new table: CREATE TABLE a2 (`id` UInt64) ENGINE = ReplicatedMergeTree('aux1:/clickhouse/tables/default/a1/{shard}', '{replica}') ORDER BY (id); 3.error info: <Error> executeQuery: Code: 220. DB::Exception: Duplicate interserver IO endpoint: DataPartsExchange:/clickhouse/tables/default/a1/01/replicas/02. (DUPLICATE_INTERSERVER_IO_ENDPOINT) <Error> InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:/clickhouse/tables/default/a1/01/replicas/02. (NO_SUCH_INTERSERVER_IO_ENDPOINT) * Revert "Add zookeeper name in endpoint id" This reverts commit 9deb75b249619b7abdd38e3949ca8b3a76c9df8e. * Add zookeeper name in endpoint id When we migrate a replicated table from one zookeeper cluster to another (the reason why we migration is that zookeeper's load is too high), we will create a new table with the same zpath, but it will fail and the old table will be in trouble. * Fix incompatible with a new setting * add a test, fix other issues * Update 02442_auxiliary_zookeeper_endpoint_id.sql * Update 02735_system_zookeeper_connection.reference * Update 02735_system_zookeeper_connection.sql * Update run.sh * Remove the 'no-fasttest' tag * Update 02442_auxiliary_zookeeper_endpoint_id.sql --------- Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com> Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com> |
||
---|---|---|
.. | ||
azure_storage_conf.xml | ||
backups.xml | ||
clusters.xml | ||
compressed_marks_and_index.xml | ||
CORS.xml | ||
custom_disks_base_path.xml | ||
custom_settings_prefixes.xml | ||
database_atomic.xml | ||
database_replicated.xml | ||
disable_s3_env_credentials.xml | ||
display_name.xml | ||
enable_access_control_improvements.xml | ||
enable_keeper_map.xml | ||
enable_zero_copy_replication.xml | ||
encryption.xml | ||
filesystem_cache_log.xml | ||
graphite.xml | ||
keeper_port.xml | ||
legacy_geobase.xml | ||
listen.xml | ||
logger_test.xml | ||
logger_trace.xml | ||
logging_no_rotate.xml | ||
macros.xml | ||
max_concurrent_queries.xml | ||
merge_tree_old_dirs_cleanup.xml | ||
merge_tree_settings.xml | ||
merge_tree.xml | ||
metadata_cache.xml | ||
named_collection.xml | ||
nlp.xml | ||
polymorphic_parts.xml | ||
prometheus.xml | ||
query_masking_rules.xml | ||
reverse_dns_query_function.xml | ||
s3_storage_policy_by_default.xml | ||
secure_ports.xml | ||
session_log.xml | ||
ssl_certs.xml | ||
storage_conf.xml | ||
system_unfreeze.xml | ||
tcp_with_proxy.xml | ||
test_cluster_with_incorrect_pw.xml | ||
text_log.xml | ||
top_level_domains_lists.xml | ||
top_level_domains_path.xml | ||
transactions.xml | ||
zookeeper_fault_injection.xml | ||
zookeeper_log.xml | ||
zookeeper_write.xml | ||
zookeeper.xml |