Type:
Task
Priority:
Minor
Resolution:
Unresolved
Fix Version/s:
None
The upstream has introduced information_schema.table_statistics.row_lock_deadlocks column (as far as I understand it works for any storage engine, they also have it for InnoDB).
They are also using it in mysql-test/include/deadlock_stats.inc , which is used in rocksdb.deadlocks_stats .
For now, I will just comment out the part of the testcase. In the future we should decide whether to
Keep not having this feature
Port it completely
Replace it with something else (why can't RocksDB export a plugin-specific table with deadlock stats).
{"report":{"fcp":1678.8000001907349,"ttfb":545.0999999046326,"pageVisibility":"visible","entityId":62432,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"a196847b-73f1-4fed-8bb3-b166a60e0e5f","navigationType":0,"readyForUser":1819.2000002861023,"redirectCount":0,"resourceLoadedEnd":1959,"resourceLoadedStart":552.3000001907349,"resourceTiming":[{"duration":327.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":552.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":552.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":879.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":327.69999980926514,"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":552.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":552.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":880.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":618.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":552.9000000953674,"connectEnd":552.9000000953674,"connectStart":552.9000000953674,"domainLookupEnd":552.9000000953674,"domainLookupStart":552.9000000953674,"fetchStart":552.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":901,"responseEnd":1171.8000001907349,"responseStart":921.8000001907349,"secureConnectionStart":552.9000000953674},{"duration":812.5,"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":553.0999999046326,"connectEnd":553.0999999046326,"connectStart":553.0999999046326,"domainLookupEnd":553.0999999046326,"domainLookupStart":553.0999999046326,"fetchStart":553.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":886.3000001907349,"responseEnd":1365.5999999046326,"responseStart":908.4000000953674,"secureConnectionStart":553.0999999046326},{"duration":377.40000009536743,"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":553.3000001907349,"connectEnd":553.3000001907349,"connectStart":553.3000001907349,"domainLookupEnd":553.3000001907349,"domainLookupStart":553.3000001907349,"fetchStart":553.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":906.0999999046326,"responseEnd":930.7000002861023,"responseStart":924.7000002861023,"secureConnectionStart":553.3000001907349},{"duration":380.09999990463257,"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":553.5,"connectEnd":553.5,"connectStart":553.5,"domainLookupEnd":553.5,"domainLookupStart":553.5,"fetchStart":553.5,"redirectEnd":0,"redirectStart":0,"requestStart":906.8000001907349,"responseEnd":933.5999999046326,"responseStart":928.0999999046326,"secureConnectionStart":553.5},{"duration":383.2000002861023,"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":553.5999999046326,"connectEnd":553.5999999046326,"connectStart":553.5999999046326,"domainLookupEnd":553.5999999046326,"domainLookupStart":553.5999999046326,"fetchStart":553.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":907.9000000953674,"responseEnd":936.8000001907349,"responseStart":931,"secureConnectionStart":553.5999999046326},{"duration":331,"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":553.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":553.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":884.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":383.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":553.9000000953674,"connectEnd":553.9000000953674,"connectStart":553.9000000953674,"domainLookupEnd":553.9000000953674,"domainLookupStart":553.9000000953674,"fetchStart":553.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":908.0999999046326,"responseEnd":937,"responseStart":931.5999999046326,"secureConnectionStart":553.9000000953674},{"duration":331.30000019073486,"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":554.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":554.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":885.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":387.09999990463257,"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":554.2000002861023,"connectEnd":554.2000002861023,"connectStart":554.2000002861023,"domainLookupEnd":554.2000002861023,"domainLookupStart":554.2000002861023,"fetchStart":554.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":908.2000002861023,"responseEnd":941.3000001907349,"responseStart":932.0999999046326,"secureConnectionStart":554.2000002861023},{"duration":1372.5,"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":566.2000002861023,"connectEnd":566.2000002861023,"connectStart":566.2000002861023,"domainLookupEnd":566.2000002861023,"domainLookupStart":566.2000002861023,"fetchStart":566.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1926.2000002861023,"responseEnd":1938.7000002861023,"responseStart":1937.4000000953674,"secureConnectionStart":566.2000002861023},{"duration":1392.6999998092651,"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":566.3000001907349,"connectEnd":566.3000001907349,"connectStart":566.3000001907349,"domainLookupEnd":566.3000001907349,"domainLookupStart":566.3000001907349,"fetchStart":566.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1930.3000001907349,"responseEnd":1959,"responseStart":1942.4000000953674,"secureConnectionStart":566.3000001907349},{"duration":307.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1320.5,"connectEnd":1320.5,"connectStart":1320.5,"domainLookupEnd":1320.5,"domainLookupStart":1320.5,"fetchStart":1320.5,"redirectEnd":0,"redirectStart":0,"requestStart":1591.9000000953674,"responseEnd":1627.9000000953674,"responseStart":1627,"secureConnectionStart":1320.5},{"duration":385,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1671.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1671.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2056.9000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":395,"responseStart":546,"responseEnd":561,"domLoading":550,"domInteractive":2000,"domContentLoadedEventStart":2000,"domContentLoadedEventEnd":2054,"domComplete":2901,"loadEventStart":2901,"loadEventEnd":2901,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1973.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1974.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1974.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1976.4000000953674},{"name":"activityTabFullyLoaded","time":2068.2000002861023}],"measures":[],"correlationId":"876294f9144115","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":87,"dbReadsTimeInMs":8,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
There is also rocksdb.lock_wait_timeout_stats which uses information_schema.table_statistics.ROW_LOCK_WAIT_TIMEOUTS