[MDEV-10403] Garbage characters in show processlist with ANALYZE TABLE on slave Created: 2016-07-20 Updated: 2016-11-24 Resolved: 2016-11-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.1.16 |
| Fix Version/s: | 10.1.18 |
| Type: | Bug | Priority: | Major |
| Reporter: | jocelyn fournier | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
Hi, From time to time, on a slave server, I notice the replicated ANALYZE TABLE statement is displayed with garbage in the State column during a SHOW PROCESSLIST : e.g. :
Note sc_stat_product_type_user is a TokuDB table (so perhaps the bug is upstream ?) Thanks and regards, |
| Comments |
| Comment by Elena Stepanova [ 2016-07-20 ] |
|
I'm not sure it's upstream. We had a similar issue before, regardless TokuDB: |
| Comment by Elena Stepanova [ 2016-07-21 ] |
|
It is upstream after all. I can reproduce it very easily with a stress test, both on MariaDB 10.0-10.2 and Percona Server 5.6, but not on Percona 5.7, so I guess it's been fixed and there is no point filing it upstream. serg, do we want to fix it in our trees or backport the bugfix from Percona 5.7? If we do, I'll try to make something more deterministic than my stress test, otherwise there is no point. |
| Comment by Rich Prohaska [ 2016-07-21 ] |
|
The changes in https://tokutek.atlassian.net/projects/DB/issues/DB-1003 may fix this problem. The analyze code is setting proc info to the address of a local variable that may go out of scope. |
| Comment by jocelyn fournier [ 2016-11-24 ] |
|
This one seems to be fixed now |
| Comment by Elena Stepanova [ 2016-11-24 ] |
|
joce, Thanks for update. |