tidb-challenge-program / bug-hunting-issue

Bug hunting issues.
3 stars 0 forks source link

P1-[4.0 bug hunting]-[tiup upgrade]-after scale-out to deploy tiflash in 4.0rc, not able to upgrade to rc2 #81

Open Rayment915 opened 4 years ago

Rayment915 commented 4 years ago

1. What did you do?

deploy v4.0.0-rc cluster with PD,TiDB and TiKV. After that scale-out the cluster with scale-out.yaml to have tiflash. When try to upgrade the whole cluster to rc2, tiflash failed and status shows down,i got errors : "failed to restart tiflash". Also i got below error in logs "2020.05.19 10:55:40.260944 [ 1 ] Application: DB::Exception: Path "/data/tiflash/data//data/gamelive/gamelive.gamelive_jiaoyou_active_sb/" is missing. 2020.05.19 10:55:55.576276 [ 1 ] IDAsPathUpgrader: Can not remove database meta file: /data/tiflash/data//metadata/db_1.sql" (something wrong with the path, but the yaml file is fine)

2. What did you expect to see?

i expect to have upgradation successful.

3. What did you see instead?

i got the errors above.

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

| Release Version: v4.0.0-rc.2 Edition: Community Git Commit Hash: dfbb1ff8b0a8d55893bcea652748c40b9a9b91ad Git Branch: heads/refs/tags/v4.0.0-rc.2 UTC Build Time: 2020-05-15 11:54:25 GoVersion: go1.13 Race Enabled: false TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306 Check Table Before Drop: false |

shuke987 commented 4 years ago

/bug P1