[MDEV-4009] main.delayed sporadically fails with "query 'REPLACE DELAYED t1 VALUES (5)' failed: 1317: Query execution was interrupted" Created: 2013-01-07 Updated: 2013-01-10 Resolved: 2013-01-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.29 |
| Fix Version/s: | 5.5.29 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
Here is an extract that helps to reproduce the problem quite easily:
Normally it would go to the end and print "All done". With the bug, it stops in the middle with "Query execution was interrupted". Tried Linux and Windows, release and debug builds (particularly, BUILD/compile-pentium-debug-max-no-ndb). It started happening after
|
| Comments |
| Comment by Elena Stepanova [ 2013-01-07 ] | ||||||||||||||||||||||||||||||||||||
|
I don't think the problem is critical as such, but Monty asked to mark as 'Critical' those that need to be taken care of, and that's one of them – it's a recent regression in GA, and besides it breaks buildbot tests. | ||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-01-07 ] | ||||||||||||||||||||||||||||||||||||
|
Could not reproduce on MySQL 5.5 (release or debug), or on MariaDB 5.5.28 release and on maria/5.5 revno 3592, or on maria/10.0 and 10.0-base ( However, I observed a different problem on release binaries of 5.5.28, both MariaDB and MySQL. The same test sometimes gets stuck, the process list shows -----
-----
----- And stack trace is like Thread 3 (Thread 0x7fca79c57700 (LWP 19711)): But I'm not sure it's related to the failure described in this report. | ||||||||||||||||||||||||||||||||||||
| Comment by Patryk Pomykalski [ 2013-01-09 ] | ||||||||||||||||||||||||||||||||||||
|
A bit modified two threaded test that fails before rev 3593 in the same way (on 3593 it fails even faster): --disable_query_log --let $run=1000 CREATE TABLE t1 ( f1 INTEGER AUTO_INCREMENT, PRIMARY KEY (f1)) ENGINE=MyISAM; while ($run) --echo # All done | ||||||||||||||||||||||||||||||||||||
| Comment by Patryk Pomykalski [ 2013-01-09 ] | ||||||||||||||||||||||||||||||||||||
|
Actually it can fail in two ways: or: | ||||||||||||||||||||||||||||||||||||
| Comment by Patryk Pomykalski [ 2013-01-09 ] | ||||||||||||||||||||||||||||||||||||
|
My analysis: | ||||||||||||||||||||||||||||||||||||
| Comment by Michael Widenius [ 2013-01-10 ] | ||||||||||||||||||||||||||||||||||||
|
Found and fixed the issues
| ||||||||||||||||||||||||||||||||||||
| Comment by Michael Widenius [ 2013-01-10 ] | ||||||||||||||||||||||||||||||||||||
|
Fixed both issues |