tiflash won't work with tiup playground
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
tiup playground v5.1.4 --tiflash 1
ALTER TABLE t SET TIFLASH REPLICA 1;
Wait, wait, wait......
SELECT * FROM information_schema.tiflash_replica WHERE TABLE_SCHEMA = 'temp' and TABLE_NAME = 't';
- What did you expect to see?
get AVAILABLE=1, PROGRESS=1.0
- What did you see instead?
get AVAILABLE=0, PROGRESS=0.0
- What version of TiUP are you using (
tiup --version)?
1.4.0 tiup Go Version: go1.16.2 Git Ref: v1.4.0 GitHash: eb335e6ad9d0dc19d1c43db422cd409d62bc3cea
When I use tiup v1.10.1 to deploy a playground with tiflash, it works well. Could you please try following steps to find the reason:
- by
sudo losf -I:<tiflash_port> | grep tiflash | awk '{print $2}'to make sure tiflash is running. - by
cat ~/.tiup/data/xxx/tiflash-x/log/tiflash_error.logto check if there are some error logs - maybe upgrade tiup to a higher version.
When I use tiup v1.10.1 to deploy a playground with tiflash, it works well. Could you please try following steps to find the reason:
- by
sudo losf -I:<tiflash_port> | grep tiflash | awk '{print $2}'to make sure tiflash is running.- by
cat ~/.tiup/data/xxx/tiflash-x/log/tiflash_error.logto check if there are some error logs- maybe upgrade tiup to a higher version.
- tiflash is running
- no errors
- tiup updated to: 1.10.2
The problem still there 😂
Please try a new cluster version like v6.1.0 and see whether the problem is still there.
And if it is still there, please upload pd and tiflash log and show the result of select * from information_schema.tiflash_replica here.