analyze can't continue after TiDB is restarted
Open
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
severity/moderate
sig/planner
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
1. `analyze table xxx;`
2. kill tidb
3. restart tidb
4. `select * from mysql.analyze_jobs;`
### 2. What did you expect to see? (Required)
The behavior of TiDB analyze after restart should be the same as the content in `mysql.analyze_jobs`.
### 3. What did you see instead (Required)
`mysql.analyze_jobs` show job's state is running, but TiDB does not continue to analyze after restart。
### 4. What is your TiDB version? (Required)
master
Contributor guide
Assessment
This issue has not been assessed yet.