Skip to content

Commit 356fb6e

Browse files
authored
Merge pull request ClickHouse#78990 from ClickHouse/update-system-zookeeper-connections
Update zookeeper_connection.md
2 parents 2bdb8eb + 89ccf6a commit 356fb6e

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ Columns:
1818

1919
- `name` ([String](../../sql-reference/data-types/string.md)) — ZooKeeper cluster's name.
2020
- `host` ([String](../../sql-reference/data-types/string.md)) — The hostname/IP of the ZooKeeper node that ClickHouse connected to.
21-
- `port` ([String](../../sql-reference/data-types/string.md)) — The port of the ZooKeeper node that ClickHouse connected to.
22-
- `index` ([UInt8](../../sql-reference/data-types/int-uint.md)) — The index of the ZooKeeper node that ClickHouse connected to. The index is from ZooKeeper config.
21+
- `port` ([UIn16](../../sql-reference/data-types/int-uint.md)) — The port of the ZooKeeper node that ClickHouse connected to.
22+
- `index` ([Nullable(UInt8)](../../sql-reference/data-types/int-uint.md)) — The index of the ZooKeeper node that ClickHouse connected to. The index is from ZooKeeper config. If not connected, this column is NULL.
2323
- `connected_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — When the connection was established
24-
- `session_uptime_elapsed_seconds` ([UInt64](../../sql-reference/data-types/int-uint.md)) — Seconds elapsed since the connection was established
24+
- `session_uptime_elapsed_seconds` ([UInt64](../../sql-reference/data-types/int-uint.md)) — Seconds elapsed since the connection was established.
2525
- `is_expired` ([UInt8](../../sql-reference/data-types/int-uint.md)) — Is the current connection expired.
26-
- `keeper_api_version` ([String](../../sql-reference/data-types/string.md)) — Keeper API version.
27-
- `client_id` ([UInt64](../../sql-reference/data-types/int-uint.md)) — Session id of the connection.
28-
- `xid` ([Int32](../../sql-reference/data-types/int-uint.md)) — Xid of the current session.
26+
- `keeper_api_version` ([UInt8](../../sql-reference/data-types/int-uint.md)) — Keeper API version.
27+
- `client_id` ([Int64](../../sql-reference/data-types/int-uint.md)) — Session id of the connection.
28+
- `xid` ([Int64](../../sql-reference/data-types/int-uint.md)) — XID of the current session.
29+
- `enabled_feature_flags` ([Array(Enum16)](../../sql-reference/data-types/array.md)) — Feature flags which are enabled. Only applicable to ClickHouse Keeper. Possible values are `FILTERED_LIST`, `MULTI_READ`, `CHECK_NOT_EXISTS`, `CREATE_IF_NOT_EXISTS`, `REMOVE_RECURSIVE`.
30+
- `availability_zone` ([String](../../sql-reference/data-types/string.md)) — Availability zone.
2931

3032
Example:
3133

@@ -34,7 +36,7 @@ SELECT * FROM system.zookeeper_connection;
3436
```
3537

3638
```text
37-
┌─name────┬─host──────┬─port─┬─index─┬──────connected_time─┬─session_uptime_elapsed_seconds─┬─is_expired─┬─keeper_api_version─┬─client_id─┐
38-
│ default │ 127.0.0.1 │ 9181 │ 0 │ 2023-06-15 14:36:013058 │ 0 │ 3 5
39-
└─────────┴───────────┴──────┴───────┴─────────────────────┴────────────────────────────────┴────────────┴────────────────────┴───────────┘
39+
┌─name────┬─host──────┬─port─┬─index─┬──────connected_time─┬─session_uptime_elapsed_seconds─┬─is_expired─┬─keeper_api_version─┬─client_id─┬─xid─┬─enabled_feature_flags────────────────────────────────────────────────────┬─availability_zone─
40+
│ default │ 127.0.0.1 │ 2181 │ 0 │ 2025-04-10 14:30:00 943 │ 0 │ 0420 │ 69 │ ['FILTERED_LIST','MULTI_READ','CHECK_NOT_EXISTS','CREATE_IF_NOT_EXISTS'] │ eu-west-1b
41+
└─────────┴───────────┴──────┴───────┴─────────────────────┴────────────────────────────────┴────────────┴────────────────────┴───────────┴─────┴──────────────────────────────────────────────────────────────────────────┴───────────────────
4042
```

0 commit comments

Comments
 (0)