Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.6
If both FK and UK checks are disabled on appliers, and there's at least two appliers, and they both execute INSERT statements into the same table, it happens that such inserts are treated as bulk inserts in InnoDB and the first insert grabs an X-lock on a table. The other applier with similar INSERT statement has to wait, but if the lock holder has seqno higher than the waiter, then it will deadlock in Galera waiting on the earlier applier to commit, while that earlier applier is waiting for InnoDB table lock to be released.
blocks
MDEV-34822
Skip FK checks in Galera during applying in IST
In Testing
Denis Protivensky
made changes -
2025-03-24 12:56
Status
Open
[ 1
]
In Progress
[ 3
]
Denis Protivensky
made changes -
2025-03-27 11:28
Status
In Progress
[ 3
]
Stalled
[ 10000
]
Denis Protivensky
made changes -
2025-03-27 11:29
Assignee
Denis Protivensky
[ JIRAUSER52676
]
Julius Goryavsky
[ sysprg
]
Denis Protivensky
made changes -
2025-03-27 11:29
Status
Stalled
[ 10000
]
In Testing
[ 10301
]
Julius Goryavsky
made changes -
2 days ago
Status
In Testing
[ 10301
]
Stalled
[ 10000
]
Julius Goryavsky
made changes -
2 days ago
Fix Version/s
10.6.22
[ 29997
]
Fix Version/s
10.6
[ 24028
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
JiraAutomate
made changes -
2 days ago
Fix Version/s
10.11.12
[ 29998
]
Fix Version/s
11.4.6
[ 29999
]
Fix Version/s
11.8.2
[ 30001
]
{"report":{"fcp":1435.6999998092651,"ttfb":620.5,"pageVisibility":"visible","entityId":133458,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"57016caf-76ba-4667-9ce6-191c08e3bc7d","navigationType":0,"readyForUser":1518.1999998092651,"redirectCount":0,"resourceLoadedEnd":1598.5,"resourceLoadedStart":626.1000003814697,"resourceTiming":[{"duration":220.39999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":626.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":626.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":846.5,"responseStart":0,"secureConnectionStart":0},{"duration":220.5,"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":626.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":626.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":846.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":230.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":626.6000003814697,"connectEnd":626.6000003814697,"connectStart":626.6000003814697,"domainLookupEnd":626.6000003814697,"domainLookupStart":626.6000003814697,"fetchStart":626.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":626.6000003814697,"responseEnd":857.1000003814697,"responseStart":857.1000003814697,"secureConnectionStart":626.6000003814697},{"duration":416.3999996185303,"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":626.8000001907349,"connectEnd":626.8000001907349,"connectStart":626.8000001907349,"domainLookupEnd":626.8000001907349,"domainLookupStart":626.8000001907349,"fetchStart":626.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":626.8000001907349,"responseEnd":1043.1999998092651,"responseStart":1043.1999998092651,"secureConnectionStart":626.8000001907349},{"duration":420.5999994277954,"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":627.1000003814697,"connectEnd":627.1000003814697,"connectStart":627.1000003814697,"domainLookupEnd":627.1000003814697,"domainLookupStart":627.1000003814697,"fetchStart":627.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":627.1000003814697,"responseEnd":1047.6999998092651,"responseStart":1047.6999998092651,"secureConnectionStart":627.1000003814697},{"duration":421.1000003814697,"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":627.3000001907349,"connectEnd":627.3000001907349,"connectStart":627.3000001907349,"domainLookupEnd":627.3000001907349,"domainLookupStart":627.3000001907349,"fetchStart":627.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":627.3000001907349,"responseEnd":1048.4000005722046,"responseStart":1048.4000005722046,"secureConnectionStart":627.3000001907349},{"duration":421.8999996185303,"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":627.4000005722046,"connectEnd":627.4000005722046,"connectStart":627.4000005722046,"domainLookupEnd":627.4000005722046,"domainLookupStart":627.4000005722046,"fetchStart":627.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":627.4000005722046,"responseEnd":1049.3000001907349,"responseStart":1049.3000001907349,"secureConnectionStart":627.4000005722046},{"duration":433.5,"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":627.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":627.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1061,"responseStart":0,"secureConnectionStart":0},{"duration":422.70000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":627.6999998092651,"connectEnd":627.6999998092651,"connectStart":627.6999998092651,"domainLookupEnd":627.6999998092651,"domainLookupStart":627.6999998092651,"fetchStart":627.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":627.6999998092651,"responseEnd":1050.4000005722046,"responseStart":1050.4000005722046,"secureConnectionStart":627.6999998092651},{"duration":433.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":628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1061.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":423.0999994277954,"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":628.1000003814697,"connectEnd":628.1000003814697,"connectStart":628.1000003814697,"domainLookupEnd":628.1000003814697,"domainLookupStart":628.1000003814697,"fetchStart":628.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":628.1000003814697,"responseEnd":1051.1999998092651,"responseStart":1051.1999998092651,"secureConnectionStart":628.1000003814697},{"duration":527.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":629,"connectEnd":629,"connectStart":629,"domainLookupEnd":629,"domainLookupStart":629,"fetchStart":629,"redirectEnd":0,"redirectStart":0,"requestStart":629,"responseEnd":1156.5,"responseStart":1156.5,"secureConnectionStart":629},{"duration":969.5,"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":629,"connectEnd":629,"connectStart":629,"domainLookupEnd":629,"domainLookupStart":629,"fetchStart":629,"redirectEnd":0,"redirectStart":0,"requestStart":629,"responseEnd":1598.5,"responseStart":1598.5,"secureConnectionStart":629},{"duration":112.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1041.6999998092651,"connectEnd":1041.6999998092651,"connectStart":1041.6999998092651,"domainLookupEnd":1041.6999998092651,"domainLookupStart":1041.6999998092651,"fetchStart":1041.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1041.6999998092651,"responseEnd":1154.5,"responseStart":1154.5,"secureConnectionStart":1041.6999998092651},{"duration":437,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1161.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1161.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1598.4000005722046,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":453,"responseStart":620,"responseEnd":624,"domLoading":624,"domInteractive":1627,"domContentLoadedEventStart":1627,"domContentLoadedEventEnd":1695,"domComplete":2114,"loadEventStart":2114,"loadEventEnd":2115,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1603.5},{"name":"bigPipe.sidebar-id.end","time":1604.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1604.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1607.3000001907349},{"name":"activityTabFullyLoaded","time":1714.1000003814697}],"measures":[],"correlationId":"d2d017b766d5c5","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":115,"dbReadsTimeInMs":19,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}