为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:[“Welcome to TiDB.”] [“Release Version”=v4.0.0-beta.2-422-ga9dc72cf2] [“Git Commit Hash”=a9dc72cf25589bc00260f1af4e5a17dac0f66474] [“Git Branch”=master]
[“UTC Build Time”=“2020-05-09 01:40:49”]
----TiFlash-------
Starting daemon with revision 54381
TiFlash build info: TiFlash 4.1.0
Release Version: v4.1.0-alpha-30-gb505cdcea
Git Commit Hash: b505cdcead052c5b1d2135d8c018670c0fef773b
Git Branch: master
UTC Build Time: 2020-05-07 05:48:54
- 【问题描述】: TiFlash副本永远没有进度。
论坛内同名帖子显示升级RC版后问题解决, 我现后测试 v4.0.0-rc, v4.0.0-rc.1, nightly 问题依旧。 目前版本为 5.11日nightly版本,tiup cluster 单机部署。*
tiup安装, topology.yaml:
tikv:
readpool.storage.use-unified-pool: false
readpool.coprocessor.use-unified-pool: true
pd:
schedule.leader-schedule-limit: 4
schedule.region-schedule-limit: 2048
schedule.replica-schedule-limit: 64
replication.enable-placement-rules: true
replication.max-replicas: 3
tiflash:
logger.level: “info”
mysql> SELECT * FROM INFORMATION_SCHEMA.tiflash_replica;
±-------------±----------------------------------------±---------±--------------±----------------±----------±---------+
| TABLE_SCHEMA | TABLE_NAME | TABLE_ID | REPLICA_COUNT | LOCATION_LABELS | AVAILABLE | PROGRESS |
±-------------±----------------------------------------±---------±--------------±----------------±----------±---------+
| test | snappy_0ba7df6eae86434c901d3 | 48 | 1 | | 0 | 0 |
±-------------±----------------------------------------±---------±--------------±----------------±----------±---------+
1 row in set (0.00 sec)
[root@localhost]# tiup cluster display test
TiDB Cluster: test
TiDB Version: nightly
ID Role Host Ports Status Data Dir Deploy Dir
192.168.1.34:9093 alertmanager 192.168.1.34 9093/9094 Up /home/data/tiup/data/alertmanager-9093 /home/data/tiup/deploy/alertmanager-9093
192.168.1.34:3000 grafana 192.168.1.34 3000 Up - /home/data/tiup/deploy/grafana-3000
192.168.1.34:2379 pd 192.168.1.34 2379/2380 Healthy|L /home/data/tiup/data/pd-2379 /home/data/tiup/deploy/pd-2379
192.168.1.34:9090 prometheus 192.168.1.34 9090 Up /home/data/tiup/data/prometheus-9090 /home/data/tiup/deploy/prometheus-9090
192.168.1.34:4000 tidb 192.168.1.34 4000/10080 Up - /home/data/tiup/deploy/tidb-4000
192.168.1.34:9000 tiflash 192.168.1.34 9000/8123/3930/2017 Up /home/data/tiup/data/tiflash-9000 /home/data/tiup/deploy/tiflash-9000
192.168.1.34:20160 tikv 192.168.1.34 20160/20180 Up /home/data/tiup/data/tikv-20160 /home/data/tiup/deploy/tikv-20160
tiflash_log.tgz (20.0 KB)
另: 用docker-compose "快速上手"步骤搭建测试时,tiflash可正常。