ClickHouse/tests/config/config.d
何李夫 e4c8c4cecf
Add zookeeper name in endpoint id (#49780)
* 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>
2023-05-25 12:50:14 +03:00
..
azure_storage_conf.xml Fix checks 2022-08-07 16:44:02 +02:00
backups.xml Add ability to throttle BACKUPs on per-server/backup basis 2023-04-05 09:39:48 +02:00
clusters.xml Memory bound merging for distributed aggregation in order (#40879) 2022-11-28 00:41:31 +01:00
compressed_marks_and_index.xml Enable compressed marks in CI 2022-11-18 15:54:22 +01:00
CORS.xml Update CORS.xml 2021-10-01 17:08:22 +03:00
custom_disks_base_path.xml Add local disk path restriction 2022-10-21 23:59:53 +02:00
custom_settings_prefixes.xml Support them in tests 2023-05-19 11:13:28 +02:00
database_atomic.xml add background cleanup of store/ subdirs 2022-06-21 12:35:47 +02:00
database_replicated.xml Add zookeeper name in endpoint id (#49780) 2023-05-25 12:50:14 +03:00
disable_s3_env_credentials.xml Disable env credentials for stateless tests 2023-03-31 09:12:41 +00:00
display_name.xml Fix displayName test, add doc 2022-11-07 14:34:47 +01:00
enable_access_control_improvements.xml work in progress 2022-09-02 04:12:05 +02:00
enable_keeper_map.xml Enable keeper_map in tests 2022-09-02 07:41:25 +00:00
enable_zero_copy_replication.xml Enable zero-copy replication in CI 2022-08-28 15:46:11 +02:00
encryption.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
filesystem_cache_log.xml rebase master 2022-05-01 19:46:55 +08:00
graphite.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
keeper_port.xml Revert debug changes 2023-03-09 08:07:59 +00:00
legacy_geobase.xml Update legacy_geobase.xml 2022-08-28 03:36:02 +03:00
listen.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
logger_test.xml More quite logging for S3 tests 2022-05-29 14:48:04 +02:00
logger_trace.xml More quite logging for S3 tests 2022-05-29 14:48:04 +02:00
logging_no_rotate.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
macros.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
max_concurrent_queries.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
merge_tree_old_dirs_cleanup.xml fix some tests 2023-04-14 19:42:17 +02:00
merge_tree_settings.xml fix 2022-08-11 15:27:26 +02:00
merge_tree.xml Add zookeeper name in endpoint id (#49780) 2023-05-25 12:50:14 +03:00
metadata_cache.xml Enable metadata cache in tests 2022-05-01 21:13:27 +00:00
named_collection.xml Replace old named collections code for url 2022-12-17 00:24:05 +01:00
nlp.xml Merge remote-tracking branch 'origin/master' into remove-useless-line 2022-08-28 21:00:29 +02:00
polymorphic_parts.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
prometheus.xml tests: enable prometheus exporter 2022-08-06 12:58:08 +03:00
query_masking_rules.xml Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
reverse_dns_query_function.xml Add setting to enable/disable reverseDNSQuery function 2023-01-30 12:04:37 -03:00
s3_storage_policy_by_default.xml Fix fetch to local disk 2022-09-23 16:46:53 +02:00
secure_ports.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
session_log.xml fixes 2022-05-24 18:53:52 +02:00
ssl_certs.xml Fix certs (finishing pr #36457) (#36747) 2022-05-01 12:59:19 +02:00
storage_conf.xml Merge remote-tracking branch 'upstream/master' into better-local-object-storage 2023-04-28 13:26:55 +02:00
system_unfreeze.xml fix xml 2022-08-19 10:41:19 +03:00
tcp_with_proxy.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
test_cluster_with_incorrect_pw.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
text_log.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
top_level_domains_lists.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
top_level_domains_path.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
transactions.xml better waiting, add fault injection 2022-05-20 22:10:01 +02:00
zookeeper_fault_injection.xml Different approach to inject timeouts 2023-03-24 17:12:14 +01:00
zookeeper_log.xml Add delete by ttl for zookeeper_log (#45419) 2023-01-19 13:42:16 +01:00
zookeeper_write.xml add zk_write.xml 2022-06-01 17:08:19 +08:00
zookeeper.xml Add zookeeper name in endpoint id (#49780) 2023-05-25 12:50:14 +03:00