Sporadic partial-hangup on various queries + related (same-testcase) crashes/asserts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Alexey Kopytov | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
Symptoms:
- Looks to be sporadic (single thread SQL replay produces issue 3 out of 10 replays)
- Issue seems connected with mysql.slave_
- Issue is single-sql-thread reproducible
- No special mysqld settings used (i.e. likely no connection with treadpool)
- CLI client remains able to connect. SHOW PROCESSLIST gives;
(cleaned up the processlist formatting a bit)
mysql> show processlist;
-------
Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined
-------
| 6 | root | localhost | information_schema | Query | 711 | Opening tables | SHOW CREATE TABLE mysql.slave_
| 12 | root | localhost | NULL | Query | 0 | System lock | show processlist | 0 | 0 |
-------
2 rows in set (0.00 sec)
mysql> show processlist;
-------
Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined
-------
| 6 | root | localhost | information_schema | Query | 713 | Opening tables | SHOW CREATE TABLE mysql.slave_
| 12 | root | localhost | NULL | Query | 0 | System lock | show processlist | 0 | 0 |
-------
2 rows in set (0.00 sec)
- Whilst GDB is active, CLI does not work (as expected, but we had another odd bug recently where one could still CLI connect even when GDB was active (and where broken had broken in/was not continuing to run code)).
- This issue is unrelated to the previously discussed "very high "Time" count in processlist" caused by SET TIMESTAMP (see http://
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Serious sporadic single-thread non-threadpool single-gdb-tread partial- - hangup issue in mysqld + Serious sporadic single-thread non-threadpool partial-hangup issue in + mysqld |
description: | updated |
summary: |
- Serious sporadic single-thread non-threadpool partial-hangup issue in - mysqld + Sporadic partial-hangup |
description: | updated |
tags: | added: backup-locks |
While reducing testcase found that server is taking too much time on Closing tables/opening tables states.
mysql> SHOW FULL PROCESSLIST; -----+- ------- ---+--- ---+--- ------+ ------+ ------- ------- --+---- ------- ------- -----+- ------- ---+--- ------- -----+ -----+- ------- ---+--- ---+--- ------+ ------+ ------- ------- --+---- ------- ------- -----+- ------- ---+--- ------- -----+ -----+- ------- ---+--- ---+--- ------+ ------+ ------- ------- --+---- ------- ------- -----+- ------- ---+--- ------- -----+
+----+-
| Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined |
+----+-
| 5 | root | localhost | test | Query | 532 | closing tables | DROP VIEW IF EXISTS d | 0 | 0 |
| 8 | root | localhost | test | Query | 0 | init | SHOW FULL PROCESSLIST | 0 | 0 |
+----+-
2 rows in set (0.00 sec)
mysql>
mysql> SHOW FULL PROCESSLIST; -----+- ------- ---+--- ---+--- ------+ ------+ ------- ------- --+---- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ----+-- ------- ------+ -----+- ------- ---+--- ---+--- ------+ ------+ ------- ------- --+---- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ----+-- ------- ------+ tokudb_ default_ int` ( `c7` ) VALUES -----+- ------- ---+--- ---+--- ------+ ------+ ------- ------- --+---- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ----+-- ------- ------+
+----+-
| Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined |
+----+-
| 5 | root | localhost | test | Query | 1119 | Opening tables | REPLACE INTO `table500_
( 6792960 ) | 0 | 0 |
| 8 | root | localhost | test | Query | 0 | init | SHOW FULL PROCESSLIST | 0 | 0 |
+----+-
2 rows in set (0.00 sec)
mysql>