Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
5.5(EOL) , (16) 10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL) , 10.11 , 11.0(EOL) , 11.1(EOL) , 11.2(EOL) , 11.3(EOL) , 11.4
The test for MDEV-6619 occasionally fails as follows (observed on the mandatory MemorySanitizer staging builder , but I have seen it in my local environment as well):
main.kill_processlist-6619 w55 [ fail ]
Test ended at 2024-01-22 06:48:05
CURRENT_TEST: main.kill_processlist-6619
--- /home/buildbot/amd64-debian-11-msan/build/mysql-test/main/kill_processlist-6619.result 2024-01-22 06:34:52.000000000 +0000
+++ /home/buildbot/amd64-debian-11-msan/build/mysql-test/main/kill_processlist-6619.reject 2024-01-22 06:48:04.671491118 +0000
@@ -1,7 +1,7 @@
connect con1,localhost,root,,;
SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress
-# root # test Sleep # # NULL 0.000
+# root # test Query # # select count(*) = 0 from information_schema.session_variables where variable_name = 'debug_sync' and 0.000
# root # test Query # # SHOW PROCESSLIST 0.000
SET DEBUG_SYNC='before_execute_sql_command SIGNAL ready WAIT_FOR go';
SHOW PROCESSLIST;
As far as I can tell, this is a race condition. I failed to reproduce this by running the last few tests that had been executed on the same server instance before the failure:
./mtr --no-reorder main.keywords main.kill main.kill_processlist-6619
is caused by
MDEV-6619
SHOW PROCESSLIST returns empty result set after KILL QUERY
Closed
{"report":{"fcp":1960.5999999046326,"ttfb":254.09999990463257,"pageVisibility":"visible","entityId":127343,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c7d8ef35-7d17-402d-9d70-654327b455e7","navigationType":0,"readyForUser":2043,"redirectCount":0,"resourceLoadedEnd":1518.3999999761581,"resourceLoadedStart":387,"resourceTiming":[{"duration":88.39999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":387,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":387,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":475.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":88.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":387.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":387.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":475.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":754.1999999284744,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":387.5,"connectEnd":387.5,"connectStart":387.5,"domainLookupEnd":387.5,"domainLookupStart":387.5,"fetchStart":387.5,"redirectEnd":0,"redirectStart":0,"requestStart":488.7999999523163,"responseEnd":1141.6999999284744,"responseStart":502,"secureConnectionStart":387.5},{"duration":1130.8000000715256,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":387.59999990463257,"connectEnd":387.59999990463257,"connectStart":387.59999990463257,"domainLookupEnd":387.59999990463257,"domainLookupStart":387.59999990463257,"fetchStart":387.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":488.89999997615814,"responseEnd":1518.3999999761581,"responseStart":815,"secureConnectionStart":387.59999990463257},{"duration":634.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":387.7999999523163,"connectEnd":387.7999999523163,"connectStart":387.7999999523163,"domainLookupEnd":387.7999999523163,"domainLookupStart":387.7999999523163,"fetchStart":387.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":490.5,"responseEnd":1022.0999999046326,"responseStart":986.5,"secureConnectionStart":387.7999999523163},{"duration":598.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":387.89999997615814,"connectEnd":387.89999997615814,"connectStart":387.89999997615814,"domainLookupEnd":387.89999997615814,"domainLookupStart":387.89999997615814,"fetchStart":387.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":491,"responseEnd":986.3999999761581,"responseStart":959.8999999761581,"secureConnectionStart":387.89999997615814},{"duration":571.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":388.09999990463257,"connectEnd":388.09999990463257,"connectStart":388.09999990463257,"domainLookupEnd":388.09999990463257,"domainLookupStart":388.09999990463257,"fetchStart":388.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":491.09999990463257,"responseEnd":959.7999999523163,"responseStart":958.7999999523163,"secureConnectionStart":388.09999990463257},{"duration":104.19999992847443,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":388.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":388.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":492.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":570.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":388.5,"connectEnd":388.5,"connectStart":388.5,"domainLookupEnd":388.5,"domainLookupStart":388.5,"fetchStart":388.5,"redirectEnd":0,"redirectStart":0,"requestStart":491.2999999523163,"responseEnd":958.5999999046326,"responseStart":902.3999999761581,"secureConnectionStart":388.5},{"duration":104.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":388.6999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":388.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":492.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":651.8999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":388.7999999523163,"connectEnd":388.7999999523163,"connectStart":388.7999999523163,"domainLookupEnd":388.7999999523163,"domainLookupStart":388.7999999523163,"fetchStart":388.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":492.6999999284744,"responseEnd":1040.6999999284744,"responseStart":1022.2999999523163,"secureConnectionStart":388.7999999523163},{"duration":1015.6000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":389.6999999284744,"connectEnd":389.6999999284744,"connectStart":389.6999999284744,"domainLookupEnd":389.6999999284744,"domainLookupStart":389.6999999284744,"fetchStart":389.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":637.7999999523163,"responseEnd":1405.2999999523163,"responseStart":1198.5999999046326,"secureConnectionStart":389.6999999284744},{"duration":1016.1000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":389.7999999523163,"connectEnd":389.7999999523163,"connectStart":389.7999999523163,"domainLookupEnd":389.7999999523163,"domainLookupStart":389.7999999523163,"fetchStart":389.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":814.5,"responseEnd":1405.8999999761581,"responseStart":1319.8999999761581,"secureConnectionStart":389.7999999523163},{"duration":506.3000000715256,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1373.6999999284744,"connectEnd":1373.6999999284744,"connectStart":1373.6999999284744,"domainLookupEnd":1373.6999999284744,"domainLookupStart":1373.6999999284744,"fetchStart":1373.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1485.2999999523163,"responseEnd":1880,"responseStart":1878.6999999284744,"secureConnectionStart":1373.6999999284744},{"duration":176.19999992847443,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1907.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1907.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2083.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":194.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1938,"connectEnd":1938,"connectStart":1938,"domainLookupEnd":1938,"domainLookupStart":1938,"fetchStart":1938,"redirectEnd":0,"redirectStart":0,"requestStart":2057.5,"responseEnd":2132.0999999046326,"responseStart":2091.5999999046326,"secureConnectionStart":1938}],"fetchStart":0,"domainLookupStart":59,"domainLookupEnd":70,"connectStart":70,"connectEnd":92,"secureConnectionStart":80,"requestStart":93,"responseStart":254,"responseEnd":359,"domLoading":319,"domInteractive":2106,"domContentLoadedEventStart":2106,"domContentLoadedEventEnd":2155,"domComplete":2830,"loadEventStart":2830,"loadEventEnd":2831,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2085.899999976158},{"name":"bigPipe.sidebar-id.end","time":2086.6999999284744},{"name":"bigPipe.activity-panel-pipe-id.start","time":2086.899999976158},{"name":"bigPipe.activity-panel-pipe-id.end","time":2088.0999999046326},{"name":"activityTabFullyLoaded","time":2167.6999999284744}],"measures":[],"correlationId":"5a96c140ea3c6","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I have a fix for this, so taking it (hope that's ok).