为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】
支付场景
【概述】 支付场景 + 添加tiflash不成功
【背景】 tiup scale-out扩容tiflash
【现象】tiflash添加失败
【问题】 当前遇到的问题
【业务影响】 tiflash不可用
【 TiDB 版本】 5.1.1
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql> select version();
±-------------------+
| version() |
±-------------------+
| 5.7.25-TiDB-v5.1.1 |
±-------------------+
1 row in set (0.01 sec)
(venv2.7) [root@dba-relay tidb]# tiup cluster scale-out tidb-pay scale-out.yaml
Starting component cluster
: /root/.tiup/components/cluster/v1.5.6/tiup-cluster scale-out tidb-pay scale-out.yaml
Please confirm your topology:
Cluster type: tidb
Cluster name: tidb-pay
Cluster version: v5.0.3
Role Host Ports OS/Arch Directories
tiflash 10.1.13.37 9000/8123/3930/20170/20292/8234 linux/x86_64 /data0/tidb-pay/tiflash,/data0/tidb-pay-data/tiflash,/data1/tidb-pay-data/tiflash
tiflash 10.1.13.49 9000/8123/3930/20170/20292/8234 linux/x86_64 /data0/tidb-pay/tiflash,/data0/tidb-pay-data/tiflash,/data1/tidb-pay-data/tiflash
Attention:
1. If the topology is not what you expected, check your yaml file.
2. Please confirm there is no port/directory conflicts in same host.
Do you want to continue? [y/N]: (default=N) y
- [ Serial ] - SSHKeySet: privateKey=/root/.tiup/storage/cluster/clusters/tidb-pay/ssh/id_rsa, publicKey=/root/.tiup/storage/cluster/clusters/tidb-pay/ssh/id_rsa.pub
Cluster version: v5.0.3加粗示例,升级时显示的版本不一致,目标机器上的tifilash已经在运行了