ClickHouse/tests
mateng915 5237dd0245
New system table zookeeper connection (#45245)
* Feature: Support new system table to show which zookeeper node be connected

Description:
============
Currently we have no place to check which zk node be connected otherwise using
lsof command. It not convenient

Solution:
=========
Implemented a new system table, system.zookeeper_host when CK Server has zk
this table will show the zk node dir which connected by current CK server

Noted: This table can support multi-zookeeper cluster scenario.

* fixed review comments

* added test case

* update test cases

* remove unused code

* fixed review comments and removed unused code

* updated test cases for print host, port and is_expired

* modify the code comments

* fixed CI Failed

* fixed code style check failure

* updated test cases by added Tags

* update test reference

* update test cases

* added system.zookeeper_connection doc

* Update docs/en/operations/system-tables/zookeeper_connection.md

* Update docs/en/operations/system-tables/zookeeper_connection.md

* Update docs/en/operations/system-tables/zookeeper_connection.md

---------

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-05-19 17:06:43 +03:00
..
ci Set allow_experimental_query_cache setting as obsolete (#49934) 2023-05-17 20:03:42 +02:00
config
fuzz
instructions
integration Merge branch 'master' into fix-throttlers 2023-05-19 14:08:36 +02:00
jepsen.clickhouse
perf_drafts
performance
queries New system table zookeeper connection (#45245) 2023-05-19 17:06:43 +03:00
sqllogic
.gitignore
.rgignore
broken_tests.txt Merge pull request #49800 from ClickHouse/fix-adding-cast 2023-05-16 17:05:02 +02:00
clickhouse-test Merge branch 'master' into fix_some_tests4 2023-05-16 14:46:27 +02:00
CMakeLists.txt
msan_suppressions.txt
tsan_suppressions.txt
ubsan_suppressions.txt