Type:
New Feature
Priority:
Critical
Resolution:
Unresolved
Appliers need to verify foreign key constraints during normal operation, in multi-active topologies, and for this reason appliers are configured to enable FK checking.
However, during node joining, in IST and latter catch up period, the node is still idle (from local connections), and only source for incoming transactions is the cluster sending certified write sets for applying. IST happens with parallel applying, and there is a possibility that foreign key check cause lock conflicts between appliers accessing FK child and parent tables. Also, the excessive FK checking will slow down IST process somewhat.
For this reasons, we could relax FK checks for appliers during IST and catch up periods. The relaxed FK check mode should, however, be configurable e.g. by wsrep_mode flag: SKIP_APPLIER_FK_CHECKS_IN_IST. When this operation mode is set, and the node is processing IST or catch up, appliers should skip FK checking.
is blocked by
MDEV-36360
Disabling FK and UK checks on appliers may lead to deadlock
Closed
{"report":{"fcp":2511.3999996185303,"ttfb":1025.8000001907349,"pageVisibility":"visible","entityId":130469,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e9ee3fa9-ce60-4361-9d66-ad9fe62822b6","navigationType":0,"readyForUser":2595.199999809265,"redirectCount":0,"resourceLoadedEnd":2461.3999996185303,"resourceLoadedStart":1031.3000001907349,"resourceTiming":[{"duration":842.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":1031.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1031.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1873.5,"responseStart":0,"secureConnectionStart":0},{"duration":842.1999998092651,"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":1031.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1031.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1873.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":1039.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":1031.8000001907349,"connectEnd":1031.8000001907349,"connectStart":1031.8000001907349,"domainLookupEnd":1031.8000001907349,"domainLookupStart":1031.8000001907349,"fetchStart":1031.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1885.8000001907349,"responseEnd":2071.699999809265,"responseStart":1916.3999996185303,"secureConnectionStart":1031.8000001907349},{"duration":1176.1000003814697,"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":1032,"connectEnd":1032,"connectStart":1032,"domainLookupEnd":1032,"domainLookupStart":1032,"fetchStart":1032,"redirectEnd":0,"redirectStart":0,"requestStart":1885.6000003814697,"responseEnd":2208.1000003814697,"responseStart":1915.6000003814697,"secureConnectionStart":1032},{"duration":887.6999998092651,"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":1032.1999998092651,"connectEnd":1032.1999998092651,"connectStart":1032.1999998092651,"domainLookupEnd":1032.1999998092651,"domainLookupStart":1032.1999998092651,"fetchStart":1032.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1886,"responseEnd":1919.8999996185303,"responseStart":1917.1999998092651,"secureConnectionStart":1032.1999998092651},{"duration":891.5999994277954,"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":1032.3000001907349,"connectEnd":1032.3000001907349,"connectStart":1032.3000001907349,"domainLookupEnd":1032.3000001907349,"domainLookupStart":1032.3000001907349,"fetchStart":1032.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1890.1000003814697,"responseEnd":1923.8999996185303,"responseStart":1921.1000003814697,"secureConnectionStart":1032.3000001907349},{"duration":891.3999996185303,"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":1032.6000003814697,"connectEnd":1032.6000003814697,"connectStart":1032.6000003814697,"domainLookupEnd":1032.6000003814697,"domainLookupStart":1032.6000003814697,"fetchStart":1032.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1890.6000003814697,"responseEnd":1924,"responseStart":1921.6000003814697,"secureConnectionStart":1032.6000003814697},{"duration":845.8999996185303,"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":1032.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1032.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1878.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":891.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1033,"connectEnd":1033,"connectStart":1033,"domainLookupEnd":1033,"domainLookupStart":1033,"fetchStart":1033,"redirectEnd":0,"redirectStart":0,"requestStart":1890.8999996185303,"responseEnd":1924.3000001907349,"responseStart":1922.1999998092651,"secureConnectionStart":1033},{"duration":852,"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":1033.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1033.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1885.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":892.6999998092651,"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":1033.3000001907349,"connectEnd":1033.3000001907349,"connectStart":1033.3000001907349,"domainLookupEnd":1033.3000001907349,"domainLookupStart":1033.3000001907349,"fetchStart":1033.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1891.6999998092651,"responseEnd":1926,"responseStart":1924.5,"secureConnectionStart":1033.3000001907349},{"duration":1200.8000001907349,"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":1041.3000001907349,"connectEnd":1041.3000001907349,"connectStart":1041.3000001907349,"domainLookupEnd":1041.3000001907349,"domainLookupStart":1041.3000001907349,"fetchStart":1041.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":2231.1000003814697,"responseEnd":2242.1000003814697,"responseStart":2241,"secureConnectionStart":1041.3000001907349},{"duration":1420,"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":1041.3999996185303,"connectEnd":1041.3999996185303,"connectStart":1041.3999996185303,"domainLookupEnd":1041.3999996185303,"domainLookupStart":1041.3999996185303,"fetchStart":1041.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":2450.8999996185303,"responseEnd":2461.3999996185303,"responseStart":2460.800000190735,"secureConnectionStart":1041.3999996185303},{"duration":269.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2222,"connectEnd":2222,"connectStart":2222,"domainLookupEnd":2222,"domainLookupStart":2222,"fetchStart":2222,"redirectEnd":0,"redirectStart":0,"requestStart":2450.3999996185303,"responseEnd":2491.5,"responseStart":2481.8999996185303,"secureConnectionStart":2222}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":810,"responseStart":1026,"responseEnd":1041,"domLoading":1030,"domInteractive":2752,"domContentLoadedEventStart":2752,"domContentLoadedEventEnd":2815,"domComplete":3372,"loadEventStart":3372,"loadEventEnd":3372,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2667.5},{"name":"bigPipe.sidebar-id.end","time":2668.699999809265},{"name":"bigPipe.activity-panel-pipe-id.start","time":2668.800000190735},{"name":"bigPipe.activity-panel-pipe-id.end","time":2670.199999809265},{"name":"activityTabFullyLoaded","time":2829.800000190735}],"measures":[],"correlationId":"1f992d4a96476","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":142,"dbReadsTimeInMs":28,"dbConnsTimeInMs":40,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}