mysqltest: At line 879: query 'reap' succeeded - should have failed with errno 1317...
The result from queries just before the failure was:
< snip >
11 data1
12 data1
13 data1
14 data1
15 data1
16 data1
17 data1
18 data1
19 data1
20 data1
set autocommit=0;
select * from t1 where pk between 10 and 20 for update;
# do: send_eval show explain for thr2;
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=33
Id User Host db Command Time State Info Progress
33 root localhost:61791 test Sleep 39 NULL 0.000
34 root localhost:61795 test Query 39 Sending data select * from t1 where pk between 10 and 20 for update 0.000
38 root localhost:61984 test Sleep 39 NULL 0.000
39 root localhost:61985 test Query 0 init show full processlist 0.000
kill query $thr_default;
Elena Stepanova
added a comment - 10.0 is also affected:
http://buildbot.askmonty.org/buildbot/builders/win32-debug/builds/2297/steps/test/logs/stdio
main.show_explain 'xtradb' w2 [ fail ]
Test ended at 2017-01-17 21:58:18
CURRENT_TEST: main.show_explain
mysqltest: At line 879: query 'reap' succeeded - should have failed with errno 1317...
The result from queries just before the failure was:
< snip >
11 data1
12 data1
13 data1
14 data1
15 data1
16 data1
17 data1
18 data1
19 data1
20 data1
set autocommit=0;
select * from t1 where pk between 10 and 20 for update;
# do: send_eval show explain for thr2;
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=33
Id User Host db Command Time State Info Progress
33 root localhost:61791 test Sleep 39 NULL 0.000
34 root localhost:61795 test Query 39 Sending data select * from t1 where pk between 10 and 20 for update 0.000
38 root localhost:61984 test Sleep 39 NULL 0.000
39 root localhost:61985 test Query 0 init show full processlist 0.000
kill query $thr_default;
mysqltest: At line 880: query 'reap' succeeded - should have failed with errno 1317...
The result from queries just before the failure was:
< snip >
20 data1
connection con1;
set autocommit=0;
select * from t1 where pk between 10 and 20 for update;
connection default;
# do: send_eval show explain for thr2;
connection con3;
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=51
Id User Host db Command Time State Info Progress
1 system user NULL Daemon NULL InnoDB purge coordinator NULL 0.000
2 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
3 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
4 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
5 system user NULL Daemon NULL InnoDB shutdown handler NULL 0.000
51 root localhost test Sleep 31 NULL 0.000
52 root localhost test Query 31 Sending data select * from t1 where pk between 10 and 20 for update 0.000
56 root localhost test Sleep 31 NULL 0.000
57 root localhost test Query 0 Init show full processlist 0.000
kill query $thr_default;
connection default;
Alice Sherepa
added a comment - on 10.3 http://buildbot.askmonty.org/buildbot/builders/p8-rhel7-bintar-debug/builds/3129/steps/test/logs/stdio
main.show_explain 'innodb' w3 [ fail ]
Test ended at 2017-11-18 23:18:59
CURRENT_TEST: main.show_explain
mysqltest: At line 880: query 'reap' succeeded - should have failed with errno 1317...
The result from queries just before the failure was:
< snip >
20 data1
connection con1;
set autocommit=0;
select * from t1 where pk between 10 and 20 for update;
connection default;
# do: send_eval show explain for thr2;
connection con3;
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=51
Id User Host db Command Time State Info Progress
1 system user NULL Daemon NULL InnoDB purge coordinator NULL 0.000
2 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
3 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
4 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
5 system user NULL Daemon NULL InnoDB shutdown handler NULL 0.000
51 root localhost test Sleep 31 NULL 0.000
52 root localhost test Query 31 Sending data select * from t1 where pk between 10 and 20 for update 0.000
56 root localhost test Sleep 31 NULL 0.000
57 root localhost test Query 0 Init show full processlist 0.000
kill query $thr_default;
connection default;
The test is using DBUG, but for some reason, it is missing proper DEBUG_SYNC instrumentation to ensure that the KILL QUERY will be processed before the statement that was submitted to execution earlier was completed.
Actually, the above mentioned commit is merely duplicating earlier use of such pattern. The error at line 882 was introduced even earlier:
commit 3e90dc1f77dc3fa51d542bf82a336753310f7776
Author: Sergey Petrunya <psergey@askmonty.org>
Date: Thu Jul 5 22:04:13 2012 +0400
MWL#182: Explain running statements
- Make SHOW EXPLAIN command be KILLable with KILL QUERY.
Marko Mäkelä
added a comment - This looks like a badly written test to me. See details below. Here is a recent failure from 10.4: http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/24152/steps/mtr_nm/logs/stdio
10.4 2f7b37b02154748b223e385a7d7787900ab37b5e
CURRENT_TEST: main.show_explain
mysqltest: At line 882: query 'reap' succeeded - should have failed with errno 1317...
The result from queries just before the failure was:
< snip >
20 data1
connection con1;
set autocommit=0;
select * from t1 where pk between 10 and 20 for update;
connection default;
# do: send_eval show explain for thr2;
connection con3;
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=234
Id User Host db Command Time State Info Progress
1 system user NULL Daemon NULL InnoDB purge coordinator NULL 0.000
3 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
4 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
2 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
5 system user NULL Daemon NULL InnoDB shutdown handler NULL 0.000
234 root localhost test Sleep 30 NULL 0.000
235 root localhost test Query 30 Sending data select * from t1 where pk between 10 and 20 for update 0.000
239 root localhost test Sleep 30 NULL 0.000
240 root localhost test Query 0 Init show full processlist 0.000
kill query $thr_default;
connection default;
More results from queries before failure can be found in /mnt/buildbot/build/mariadb-10.4.15/mysql-test/var/3/log/show_explain.log
Let us look at the changes:
git show 105e3ae6c93f57498fa6c504dfbb92203b0d1056 -- mysql-test/t/show_explain.test
diff --git a/mysql-test/t/show_explain.test b/mysql-test/t/show_explain.test
index 91e3be34408..6735a0e851e 100644
--- a/mysql-test/t/show_explain.test
+++ b/mysql-test/t/show_explain.test
@@ -224,7 +224,9 @@ connection default;
--source include/wait_condition.inc
--error ER_TARGET_NOT_EXPLAINABLE
evalp show explain for $thr2;
+evalp kill query $thr2;
connection con1;
+--error ER_QUERY_INTERRUPTED
reap;
set debug_dbug=@old_debug;
@@ -399,7 +401,9 @@ connection default;
--source include/wait_condition.inc
--error ER_TARGET_NOT_EXPLAINABLE
evalp show explain for $thr2;
+evalp kill query $thr2;
connection con1;
+--error ER_QUERY_INTERRUPTED
reap;
set debug_dbug=@old_debug;
DROP VIEW v1;
The test is using DBUG , but for some reason, it is missing proper DEBUG_SYNC instrumentation to ensure that the KILL QUERY will be processed before the statement that was submitted to execution earlier was completed.
Actually, the above mentioned commit is merely duplicating earlier use of such pattern. The error at line 882 was introduced even earlier:
commit 3e90dc1f77dc3fa51d542bf82a336753310f7776
Author: Sergey Petrunya <psergey@askmonty.org>
Date: Thu Jul 5 22:04:13 2012 +0400
MWL#182: Explain running statements
- Make SHOW EXPLAIN command be KILLable with KILL QUERY.
mysqltest: At line 880: query 'reap' succeeded - should have failed with errno 1317...
--- good-execution.log
+++ bad-execution.log
@@ -966,82 +966,16 @@
connection default;
# do: send_eval show explain for thr2;
connection con3;
+Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=139
+Id User Host db Command Time State Info Progress
+1 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+2 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+3 system user NULL Daemon NULL InnoDB purge coordinator NULL 0.000
+4 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+5 system user NULL Daemon NULL InnoDB shutdown handler NULL 0.000
+139 root localhost test Sleep 30 NULL 0.000
+140 root localhost test Query 30 Sending data select * from t1 where pk between 10 and 20 for update 0.000
+144 root localhost test Sleep 30 NULL 0.000
+145 root localhost test Query 0 Init show full processlist 0.000
kill query $thr_default;
connection default;
-ERROR 70100: Query execution was interrupted
-connection con2;
The test was expecting to find the SHOW EXPLAIN query to be stuck waiting to get explain on a thread that's stuck in innodb lock wait.
The query that's stuck in innodb lock wait is there (id=140). The SHOW EXPLAIN has managed to succeed somehow.
Sergei Petrunia
added a comment - I was able to reproduce once
CURRENT_TEST: main.show_explain15
mysqltest: At line 880: query 'reap' succeeded - should have failed with errno 1317...
--- good-execution.log
+++ bad-execution.log
@@ -966,82 +966,16 @@
connection default;
# do: send_eval show explain for thr2;
connection con3;
+Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=139
+Id User Host db Command Time State Info Progress
+1 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+2 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+3 system user NULL Daemon NULL InnoDB purge coordinator NULL 0.000
+4 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+5 system user NULL Daemon NULL InnoDB shutdown handler NULL 0.000
+139 root localhost test Sleep 30 NULL 0.000
+140 root localhost test Query 30 Sending data select * from t1 where pk between 10 and 20 for update 0.000
+144 root localhost test Sleep 30 NULL 0.000
+145 root localhost test Query 0 Init show full processlist 0.000
kill query $thr_default;
connection default;
-ERROR 70100: Query execution was interrupted
-connection con2;
The test was expecting to find the SHOW EXPLAIN query to be stuck waiting to get explain on a thread that's stuck in innodb lock wait.
The query that's stuck in innodb lock wait is there (id=140). The SHOW EXPLAIN has managed to succeed somehow.
Could something like this happen if InnoDB lock wait experiences a spurious wakeup (caused by either pthreads or some other reason)? The wakeup will process APCs, including the APC to produce EXPLAIN output...
Sergei Petrunia
added a comment - Could something like this happen if InnoDB lock wait experiences a spurious wakeup (caused by either pthreads or some other reason)? The wakeup will process APCs, including the APC to produce EXPLAIN output...
...no, the cause seems to be the following issue in the test. Look at these lines in the test:
# This will freeze
send
select * from t1 where pk between 10 and 20 for update;
# run SHOW EXPLAIN on a frozen thread
connection default;
let $save_wait_condition= $wait_condition;
let $wait_condition= select State='Sending data' from information_schema.processlist where id=$thr2;
--source include/wait_condition.inc
Here, the test expects that the above for update query is blocked inside
InnoDB, waiting for a lock.
However, let's suppose it hasn't reached the lock acquistion yet and is still
at the start of do_select() (which JOIN::exec_inner calls right after
calling THD_STAGE_INFO(thd, stage_sending_data) call)
Then the SHOW EXPLAIN call
--echo # do: send_eval show explain for thr2;
--disable_query_log
send_eval show explain for $thr2;
--enable_query_log
has a chance to finish: the SELECT...FOR UPDATE query will call
thd->apc_target.process_apcs() before it is stuck waiting on an innodb lock.
Sergei Petrunia
added a comment - ...no, the cause seems to be the following issue in the test. Look at these lines in the test:
# This will freeze
send
select * from t1 where pk between 10 and 20 for update;
# run SHOW EXPLAIN on a frozen thread
connection default;
let $save_wait_condition= $wait_condition;
let $wait_condition= select State='Sending data' from information_schema.processlist where id=$thr2;
--source include/wait_condition.inc
Here, the test expects that the above for update query is blocked inside
InnoDB, waiting for a lock.
However, let's suppose it hasn't reached the lock acquistion yet and is still
at the start of do_select() (which JOIN::exec_inner calls right after
calling THD_STAGE_INFO(thd, stage_sending_data) call)
Then the SHOW EXPLAIN call
--echo # do: send_eval show explain for thr2;
--disable_query_log
send_eval show explain for $thr2;
--enable_query_log
has a chance to finish: the SELECT...FOR UPDATE query will call
thd->apc_target.process_apcs() before it is stuck waiting on an innodb lock.
Sergei Petrunia
added a comment - - edited Candidate patch: http://lists.askmonty.org/pipermail/commits/2021-May/014592.html . I would like to get a review for this from somebody in InnoDB team. marko could you please take a look?
The patch looks otherwise OK, but it forgot to load the plugins:
At line 43: query 'let $success= `$wait_condition`' failed with wrong errno 1109: 'Unknown table 'INNODB_LOCK_WAITS' in information_schema', instead of 0...
I pushed an amended version of the patch to bb-10.2-release.
Marko Mäkelä
added a comment - The patch looks otherwise OK, but it forgot to load the plugins:
At line 43: query 'let $success= `$wait_condition`' failed with wrong errno 1109: 'Unknown table 'INNODB_LOCK_WAITS' in information_schema', instead of 0...
I pushed an amended version of the patch to bb-10.2-release.
People
Marko Mäkelä
Elena Stepanova
Votes:
1Vote for this issue
Watchers:
8Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":2722.199999809265,"ttfb":468.5,"pageVisibility":"visible","entityId":57811,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"32792ef5-ae16-407e-a251-5b4f8602eb56","navigationType":0,"readyForUser":2798.0999994277954,"redirectCount":0,"resourceLoadedEnd":2482.3999996185303,"resourceLoadedStart":526.5,"resourceTiming":[{"duration":151,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":526.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":526.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":677.5,"responseStart":0,"secureConnectionStart":0},{"duration":151.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":526.7999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":526.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":678.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":1125.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":527,"connectEnd":679.6999998092651,"connectStart":679.6999998092651,"domainLookupEnd":679.6999998092651,"domainLookupStart":679.6999998092651,"fetchStart":527,"redirectEnd":0,"redirectStart":0,"requestStart":682.2999992370605,"responseEnd":1652.5999994277954,"responseStart":695.7999992370605,"secureConnectionStart":679.6999998092651},{"duration":1688.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":527.1999998092651,"connectEnd":527.1999998092651,"connectStart":527.1999998092651,"domainLookupEnd":527.1999998092651,"domainLookupStart":527.1999998092651,"fetchStart":527.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":682.6999998092651,"responseEnd":2216.0999994277954,"responseStart":702.1999998092651,"secureConnectionStart":527.1999998092651},{"duration":208.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":527.3999996185303,"connectEnd":527.3999996185303,"connectStart":527.3999996185303,"domainLookupEnd":527.3999996185303,"domainLookupStart":527.3999996185303,"fetchStart":527.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":687.2999992370605,"responseEnd":736.1999998092651,"responseStart":729.5,"secureConnectionStart":527.3999996185303},{"duration":235.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":527.5999994277954,"connectEnd":527.5999994277954,"connectStart":527.5999994277954,"domainLookupEnd":527.5999994277954,"domainLookupStart":527.5999994277954,"fetchStart":527.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":726,"responseEnd":763.5,"responseStart":747,"secureConnectionStart":527.5999994277954},{"duration":236.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":527.7999992370605,"connectEnd":527.7999992370605,"connectStart":527.7999992370605,"domainLookupEnd":527.7999992370605,"domainLookupStart":527.7999992370605,"fetchStart":527.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":726.1999998092651,"responseEnd":764.2999992370605,"responseStart":749.8999996185303,"secureConnectionStart":527.7999992370605},{"duration":178.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":528,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":528,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":706.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":235.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":528.0999994277954,"connectEnd":528.0999994277954,"connectStart":528.0999994277954,"domainLookupEnd":528.0999994277954,"domainLookupStart":528.0999994277954,"fetchStart":528.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":726.3999996185303,"responseEnd":763.6999998092651,"responseStart":748.1999998092651,"secureConnectionStart":528.0999994277954},{"duration":179.10000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":528.2999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":528.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":707.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":229.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":535.7999992370605,"connectEnd":535.7999992370605,"connectStart":535.7999992370605,"domainLookupEnd":535.7999992370605,"domainLookupStart":535.7999992370605,"fetchStart":535.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":726.5,"responseEnd":764.8999996185303,"responseStart":751.3999996185303,"secureConnectionStart":535.7999992370605},{"duration":1945.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":537,"connectEnd":537,"connectStart":537,"domainLookupEnd":537,"domainLookupStart":537,"fetchStart":537,"redirectEnd":0,"redirectStart":0,"requestStart":958.3999996185303,"responseEnd":2482.3999996185303,"responseStart":2345.0999994277954,"secureConnectionStart":537},{"duration":1940.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":541.5999994277954,"connectEnd":541.5999994277954,"connectStart":541.5999994277954,"domainLookupEnd":541.5999994277954,"domainLookupStart":541.5999994277954,"fetchStart":541.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1825,"responseEnd":2481.699999809265,"responseStart":2283.7999992370605,"secureConnectionStart":541.5999994277954},{"duration":392.3999996185303,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2140.8999996185303,"connectEnd":2140.8999996185303,"connectStart":2140.8999996185303,"domainLookupEnd":2140.8999996185303,"domainLookupStart":2140.8999996185303,"fetchStart":2140.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":2483.2999992370605,"responseEnd":2533.2999992370605,"responseStart":2531.8999996185303,"secureConnectionStart":2140.8999996185303}],"fetchStart":0,"domainLookupStart":183,"domainLookupEnd":203,"connectStart":203,"connectEnd":221,"secureConnectionStart":211,"requestStart":222,"responseStart":469,"responseEnd":525,"domLoading":474,"domInteractive":2994,"domContentLoadedEventStart":2994,"domContentLoadedEventEnd":3087,"domComplete":4378,"loadEventStart":4378,"loadEventEnd":4378,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2875.8999996185303},{"name":"bigPipe.sidebar-id.end","time":2876.699999809265},{"name":"bigPipe.activity-panel-pipe-id.start","time":2876.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":2883.5999994277954},{"name":"activityTabFullyLoaded","time":3114.5999994277954}],"measures":[],"correlationId":"c0119fb0751853","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":163,"dbReadsTimeInMs":15,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
10.0 is also affected:
http://buildbot.askmonty.org/buildbot/builders/win32-debug/builds/2297/steps/test/logs/stdio
main.show_explain 'xtradb' w2 [ fail ]
Test ended at 2017-01-17 21:58:18
CURRENT_TEST: main.show_explain
mysqltest: At line 879: query 'reap' succeeded - should have failed with errno 1317...
The result from queries just before the failure was:
< snip >
11 data1
12 data1
13 data1
14 data1
15 data1
16 data1
17 data1
18 data1
19 data1
20 data1
set autocommit=0;
select * from t1 where pk between 10 and 20 for update;
# do: send_eval show explain for thr2;
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=33
Id User Host db Command Time State Info Progress
33 root localhost:61791 test Sleep 39 NULL 0.000
34 root localhost:61795 test Query 39 Sending data select * from t1 where pk between 10 and 20 for update 0.000
38 root localhost:61984 test Sleep 39 NULL 0.000
39 root localhost:61985 test Query 0 init show full processlist 0.000
kill query $thr_default;