Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fast ANALYZE TABLE on INDEX PRIMARY causes an error "analyze worker panic" #15993

Closed
mrigger opened this issue Apr 1, 2020 · 1 comment · Fixed by #16005
Closed

fast ANALYZE TABLE on INDEX PRIMARY causes an error "analyze worker panic" #15993

mrigger opened this issue Apr 1, 2020 · 1 comment · Fixed by #16005
Assignees
Labels

Comments

@mrigger
Copy link

mrigger commented Apr 1, 2020

Consider the following statements:

set @@tidb_enable_fast_analyze=1;
CREATE TABLE t0(c0 INT PRIMARY KEY);
ANALYZE TABLE t0 INDEX PRIMARY; -- analyze worker panic

Unexpectedly, the ANALYZE causes an error ERROR 1105 (HY000): analyze worker panic.

This bug seems related to the already-fixed bug #15751.

Environment:

mysql> select tidb_version();
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                                                          |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v4.0.0-beta.2-160-g82529c886
Git Commit Hash: 82529c886cb1cfff7810476a136acf81284bac6e
Git Branch: master
UTC Build Time: 2020-04-01 11:44:27
GoVersion: go1.13.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants