mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
f847629eba
CI: https://s3.amazonaws.com/clickhouse-test-reports/43922/a3a8e39375326ebc95ad6560516902c6431be4fc/fast_test.html Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
10 lines
443 B
Bash
Executable File
10 lines
443 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CUR_DIR"/../shell_config.sh
|
|
|
|
$CLICKHOUSE_CLIENT -q "show clusters like 'test_shard%' limit 1"
|
|
# cluster,shard_num,shard_weight,replica_num,host_name,host_address,port,is_local,user,default_database[,errors_count,slowdowns_count,estimated_recovery_time]
|
|
$CLICKHOUSE_CLIENT -q "show cluster 'test_shard_localhost'" | cut -f-10
|