-
Bug
-
-
Major
-
Resolution:
Fixed
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
-
-
-
When main.delayed is run after main.deadlock_ftwrl, it fails, seemingly reliably, with "succeeded - should have failed with errno 1213":
10.4 5e04c08d
|
perl ./mtr --mem --noreorder main.deadlock_ftwrl main.delayed
|
|
main.deadlock_ftwrl [ pass ] 14
|
main.delayed [ fail ]
|
Test ended at 2022-01-17 02:29:06
|
|
CURRENT_TEST: main.delayed
|
mysqltest: At line 494: query 'INSERT DELAYED INTO t1 VALUES (4)' succeeded - should have failed with errno 1213...
|
|
The result from queries just before the failure was:
|
< snip >
|
connection con1;
|
# Sending:
|
ALTER TABLE t1 MODIFY a INT UNSIGNED;;
|
connection default;
|
# Wait until ALTER TABLE is blocked on table 't1'.
|
INSERT DELAYED INTO t1 VALUES (3);
|
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
COMMIT;
|
connection con1;
|
# Reaping: ALTER TABLE t1 COMMENT 'test'
|
# Test 3: Using RENAME TABLE
|
connection default;
|
START TRANSACTION;
|
INSERT INTO t2 VALUES (1);
|
connection con1;
|
# Sending:
|
RENAME TABLE t1 to t5, t2 to t4;
|
connection default;
|
# Wait until RENAME TABLE is blocked on table 't1'.
|
INSERT DELAYED INTO t1 VALUES (4);
|
With one more test in the chain it hangs instead, also seemingly reliably:
perl ./mtr --mem --noreorder main.ddl_i18n_koi8r main.deadlock_ftwrl main.delayed
|
|
main.ddl_i18n_koi8r [ pass ] 733
|
main.deadlock_ftwrl [ pass ] 8
|
worker[1] Trying to dump core for [mysqltest - pid: 3093574, winpid: 3093574]
|
worker[1] Trying to dump core for [mysqld.1 - pid: 3093506, winpid: 3093506]
|
main.delayed [ fail ] timeout after 120 seconds
|
main.deadlock_ftwrl was added in 10.4 by this commit:
commit fa5f60681fe4ed9d5bb160e551381cb7b1be5850
|
Author: Rinat Ibragimov
|
Date: Thu Jun 18 01:11:39 2020 +0300
|
|
MDEV-20946: Hard FTWRL deadlock under user level locks
|
I suppose the chain of tests has been failing ever since, but I didn't check.
{"report":{"fcp":1155.4000000953674,"ttfb":350.60000014305115,"pageVisibility":"visible","entityId":106796,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"ee2b3e8c-7194-4c95-ac97-e62090bb3f92","navigationType":0,"readyForUser":1240.2000000476837,"redirectCount":0,"resourceLoadedEnd":892,"resourceLoadedStart":359.2999999523163,"resourceTiming":[{"duration":259.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":359.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":359.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":618.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":259.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":359.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":359.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":619,"responseStart":0,"secureConnectionStart":0},{"duration":401.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":359.7000000476837,"connectEnd":620.7000000476837,"connectStart":620.7000000476837,"domainLookupEnd":620.7000000476837,"domainLookupStart":620.7000000476837,"fetchStart":359.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":621,"responseEnd":761.2999999523163,"responseStart":634.7999999523163,"secureConnectionStart":620.7000000476837},{"duration":286.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":360.2999999523163,"connectEnd":360.2999999523163,"connectStart":360.2999999523163,"domainLookupEnd":360.2999999523163,"domainLookupStart":360.2999999523163,"fetchStart":360.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":627.2000000476837,"responseEnd":646.7000000476837,"responseStart":645.1000001430511,"secureConnectionStart":360.2999999523163},{"duration":531.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":360.2999999523163,"connectEnd":360.2999999523163,"connectStart":360.2999999523163,"domainLookupEnd":360.2999999523163,"domainLookupStart":360.2999999523163,"fetchStart":360.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":626.6000001430511,"responseEnd":892,"responseStart":639.7999999523163,"secureConnectionStart":360.2999999523163},{"duration":294.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":360.40000009536743,"connectEnd":360.40000009536743,"connectStart":360.40000009536743,"domainLookupEnd":360.40000009536743,"domainLookupStart":360.40000009536743,"fetchStart":360.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":629.2000000476837,"responseEnd":655.1000001430511,"responseStart":650,"secureConnectionStart":360.40000009536743},{"duration":297.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":360.5,"connectEnd":360.5,"connectStart":360.5,"domainLookupEnd":360.5,"domainLookupStart":360.5,"fetchStart":360.5,"redirectEnd":0,"redirectStart":0,"requestStart":630.2999999523163,"responseEnd":657.7999999523163,"responseStart":652.5,"secureConnectionStart":360.5},{"duration":268.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":360.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":360.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":628.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":298,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":360.7000000476837,"connectEnd":360.7000000476837,"connectStart":360.7000000476837,"domainLookupEnd":360.7000000476837,"domainLookupStart":360.7000000476837,"fetchStart":360.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":630.7000000476837,"responseEnd":658.7000000476837,"responseStart":653.6000001430511,"secureConnectionStart":360.7000000476837},{"duration":269.10000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":360.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":360.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":629.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":299.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":361,"connectEnd":361,"connectStart":361,"domainLookupEnd":361,"domainLookupStart":361,"fetchStart":361,"redirectEnd":0,"redirectStart":0,"requestStart":635.7000000476837,"responseEnd":660.7000000476837,"responseStart":656.4000000953674,"secureConnectionStart":361},{"duration":490.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":368.10000014305115,"connectEnd":368.10000014305115,"connectStart":368.10000014305115,"domainLookupEnd":368.10000014305115,"domainLookupStart":368.10000014305115,"fetchStart":368.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":753.2999999523163,"responseEnd":858.2999999523163,"responseStart":853.5,"secureConnectionStart":368.10000014305115},{"duration":491.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":368.2000000476837,"connectEnd":368.2000000476837,"connectStart":368.2000000476837,"domainLookupEnd":368.2000000476837,"domainLookupStart":368.2000000476837,"fetchStart":368.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":804.4000000953674,"responseEnd":859.5,"responseStart":855.7000000476837,"secureConnectionStart":368.2000000476837},{"duration":129,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":906.2999999523163,"connectEnd":906.2999999523163,"connectStart":906.2999999523163,"domainLookupEnd":906.2999999523163,"domainLookupStart":906.2999999523163,"fetchStart":906.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1002.2999999523163,"responseEnd":1035.2999999523163,"responseStart":1034.2999999523163,"secureConnectionStart":906.2999999523163},{"duration":270.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1111.7999999523163,"connectEnd":1111.7999999523163,"connectStart":1111.7999999523163,"domainLookupEnd":1111.7999999523163,"domainLookupStart":1111.7999999523163,"fetchStart":1111.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1350,"responseEnd":1382.1000001430511,"responseStart":1381,"secureConnectionStart":1111.7999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":216,"responseStart":351,"responseEnd":368,"domLoading":354,"domInteractive":1333,"domContentLoadedEventStart":1333,"domContentLoadedEventEnd":1380,"domComplete":2973,"loadEventStart":2973,"loadEventEnd":2975,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1315.7999999523163},{"name":"bigPipe.sidebar-id.end","time":1316.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":1316.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1319.2000000476837},{"name":"activityTabFullyLoaded","time":1391}],"measures":[],"correlationId":"a22390d584c7cd","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":69,"dbReadsTimeInMs":9,"dbConnsTimeInMs":15,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}