debug 日志:
2020-08-20T01:35:19.560+0800 DEBUG TaskFinish {“task”: “UpgradeCluster”, “error”: “\t192.168.254.12 failed to restart: timed out waiting for port 9000 to be started after 2m0s: timed out waiting for port 9000 to be started after 2m0s”, “errorVerbose”: "timed out waiting for port 9000 to be started after
tiflahs 日志:
2020.08.20 01:33:26.561529 [ 1 ] DeltaMergeStore[db_45.t_3062]: Release DeltaMerge Store start [db_45.t_3062]
2020.08.20 01:33:26.561537 [ 1 ] DeltaMergeStore[db_45.t_3062]: Release DeltaMerge Store end [db_45.t_3062]
2020.08.20 01:33:28.130962 [ 1 ] Application: Let tiflash proxy shutdown
2020.08.20 01:33:28.130994 [ 1 ] Application: Wait for tiflash proxy thread to join
tiflash_error日志的时间是问题发生前的
2020.08.20 00:31:38.310447 [ 23 ] pingcap.tikv: region {6,5,2} find error: peer is not leader for region 6, leader may Some(id: 47 store_id: 4)
2020.08.20 00:31:59.289970 [ 13 ] pingcap.tikv: region {6,5,2} find error: peer is not leader for region 6, leader may Some(id: 7 store_id: 1)
cat tiflash.log | grep -v “Available space is only” | grep -v “PageStorage” > tiflash2.log
下面两种去掉了
PageStorage: db_45.t_49.meta GC exit within 0.00 sec. PageFiles from [1,0,Formal] to [3,0,Legacy], size: 3, compact legacy archive files: 0, remove data files: 0, gc apply: 0 puts and 0 refs and 0 deletes and 0 upserts
HandleComputeFsStats: Available space is only 19.4508% of capacity size
Restarting component tiflash
Restarting instance 192.168.254.12
retry error: operation timed out after 2m0s
192.168.254.12 failed to restart: timed out waiting for port 8000 to be started after 2m0s
Error: 192.168.254.12 failed to restart: timed out waiting for port 8000 to be started after 2m0s: timed out waiting for port 8000 to be started after 2m0s
Verbose debug logs has been written to **/home/tidb/logs/tiup-cluster-debug-2020-09-01-21-21-06.log** .
Error: run `/home/tidb/.tiup/components/cluster/v1.1.0/tiup-cluster` (wd:/home/tidb/.tiup/data/S9LHkgo) failed: exit status 1