fast ANALYZE TABLE on INDEX PRIMARY causes an error "analyze worker panic" #15993
Closed
Description
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)
Activity