使用 TiUP 部署后 tiflash 起不来

cat /tidb-deploy/tiflash-9000/log/tiflash.log 最后几行 日志

PageStorage: mysql.user.log begin to restore from path: /tidb-data/tiflash-9000/data/mysql//user/log PageStorage: mysql.user.log restore 0 pages, write batch sequence: 0, 0 puts and 0 refs and 0 deletes and 0 upserts PageStorage: mysql.user.data begin to restore from path: /tidb-data/tiflash-9000/data/mysql//user/data PageStorage: mysql.user.data restore 1 pages, write batch sequence: 1, 1 puts and 0 refs and 0 deletes and 0 upserts PageStorage: mysql.user.meta begin to restore from path: /tidb-data/tiflash-9000/data/mysql//user/meta PageStorage: mysql.user.meta restore 3 pages, write batch sequence: 1, 4 puts and 0 refs and 0 deletes and 0 upserts DeltaMergeStore[mysql.user]: Restore DeltaMerge Store end [mysql.user] DatabaseOrdinary (mysql): Starting up tables. DatabaseOrdinary (test): Total 0 tables. DatabaseOrdinary (test): Starting up tables. pingcap.tikv: load store id 7 address 192.168.21.212:20160 SchemaSyncer: start to sync schemas. current version is: 0 and try to sync schema version to: 22 SchemaBuilder: Try to drop database: default SchemaSyncer: end sync schema, version has been updated to 22 KVStore: Restored 0 regions. RegionTable: Start to restore RegionTable: Restore 0 tables BackgroundService: Configuration raft.disable_bg_flush is set to true, background flush tasks are disabled. Application: Flash service registered Application: Flash grpc server listening on [192.168.21.205:3930] Application: Start tiflash proxy Application: Listening http://0.0.0.0:8123 Application: Listening tcp: 0.0.0.0:9000 Application: Available RAM = 1.78 GiB; physical cores = 1; threads = 1. Application: Ready for connections. Prometheus: Config: status.metrics_interval = 15 Prometheus: Disable sending metrics to prometheus, cause status.metrics_addr is not set! Prometheus: Metrics Port = 8234 ClusterManagerService: Registered timed cluster manager task at rate 5 seconds

能否贴一下你 tiup 部署配置 topology.yaml

topology.yaml (5.4 KB)

执行 /tidb-deploy/tiflash-9000/scripts/run_tiflash.sh

/tidb-da/tiflash-9000 这个目录有权限么?ls -l 一下?

image

也看看 ls -l /tidb-data/tiflash-9000/metadata/mysql 这个目录

image

您好: 查看具体的目录权限可以使用 ls -ld ,多谢

再辛苦看下 最后一张图报错的哪个 page_559_0, 感谢

ls -l /tidb-data/tiflash-9000/metadata/mysql/log/page_559_0

[root@tidb04 tiflash-9000]# /tidb-deploy/tiflash-9000/scripts/run_tiflash.sh
[root@tidb04 tiflash-9000]# cat /tidb-deploy/tiflash-9000/log/tiflash.log


image

tiup cluster destroy tidb-cluster rm -rf /tidb-deploy rm -rf //tidb-data 重新部署一遍就好了

感谢反馈.

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。