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
In Testing
There are no comments yet on this issue.
{"report":{"fcp":2379.0999999046326,"ttfb":853.5999999046326,"pageVisibility":"visible","entityId":130469,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d1c4b582-05f1-4e85-a4ea-ac6352644d89","navigationType":0,"readyForUser":2469.5999999046326,"redirectCount":0,"resourceLoadedEnd":3262.7000002861023,"resourceLoadedStart":860.2000002861023,"resourceTiming":[{"duration":969,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":860.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":860.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1829.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":969,"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":860.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":860.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1829.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1015.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":860.5999999046326,"connectEnd":860.5999999046326,"connectStart":860.5999999046326,"domainLookupEnd":860.5999999046326,"domainLookupStart":860.5999999046326,"fetchStart":860.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":860.5999999046326,"responseEnd":1876.2000002861023,"responseStart":1876.2000002861023,"secureConnectionStart":860.5999999046326},{"duration":1103.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":860.8000001907349,"connectEnd":860.8000001907349,"connectStart":860.8000001907349,"domainLookupEnd":860.8000001907349,"domainLookupStart":860.8000001907349,"fetchStart":860.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":860.8000001907349,"responseEnd":1964.3000001907349,"responseStart":1964.3000001907349,"secureConnectionStart":860.8000001907349},{"duration":1107,"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":861.0999999046326,"connectEnd":861.0999999046326,"connectStart":861.0999999046326,"domainLookupEnd":861.0999999046326,"domainLookupStart":861.0999999046326,"fetchStart":861.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":861.0999999046326,"responseEnd":1968.0999999046326,"responseStart":1968.0999999046326,"secureConnectionStart":861.0999999046326},{"duration":1107.2999997138977,"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":861.3000001907349,"connectEnd":861.3000001907349,"connectStart":861.3000001907349,"domainLookupEnd":861.3000001907349,"domainLookupStart":861.3000001907349,"fetchStart":861.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":861.3000001907349,"responseEnd":1968.5999999046326,"responseStart":1968.5999999046326,"secureConnectionStart":861.3000001907349},{"duration":1104.6999998092651,"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":864.3000001907349,"connectEnd":864.3000001907349,"connectStart":864.3000001907349,"domainLookupEnd":864.3000001907349,"domainLookupStart":864.3000001907349,"fetchStart":864.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":864.3000001907349,"responseEnd":1969,"responseStart":1969,"secureConnectionStart":864.3000001907349},{"duration":1168.3000001907349,"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":864.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":864.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2032.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1104.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":864.7000002861023,"connectEnd":864.7000002861023,"connectStart":864.7000002861023,"domainLookupEnd":864.7000002861023,"domainLookupStart":864.7000002861023,"fetchStart":864.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":864.7000002861023,"responseEnd":1969.5999999046326,"responseStart":1969.5999999046326,"secureConnectionStart":864.7000002861023},{"duration":1168.1999998092651,"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":864.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":864.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2033.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1105.3000001907349,"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":865,"connectEnd":865,"connectStart":865,"domainLookupEnd":865,"domainLookupStart":865,"fetchStart":865,"redirectEnd":0,"redirectStart":0,"requestStart":865,"responseEnd":1970.3000001907349,"responseStart":1970.3000001907349,"secureConnectionStart":865},{"duration":1896.1999998092651,"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":866.3000001907349,"connectEnd":866.3000001907349,"connectStart":866.3000001907349,"domainLookupEnd":866.3000001907349,"domainLookupStart":866.3000001907349,"fetchStart":866.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":866.3000001907349,"responseEnd":2762.5,"responseStart":2762.5,"secureConnectionStart":866.3000001907349},{"duration":2396.300000190735,"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":866.4000000953674,"connectEnd":866.4000000953674,"connectStart":866.4000000953674,"domainLookupEnd":866.4000000953674,"domainLookupStart":866.4000000953674,"fetchStart":866.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":866.4000000953674,"responseEnd":3262.7000002861023,"responseStart":3262.7000002861023,"secureConnectionStart":866.4000000953674},{"duration":720.6000003814697,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2058.0999999046326,"connectEnd":2058.0999999046326,"connectStart":2058.0999999046326,"domainLookupEnd":2058.0999999046326,"domainLookupStart":2058.0999999046326,"fetchStart":2058.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2058.0999999046326,"responseEnd":2778.7000002861023,"responseStart":2778.7000002861023,"secureConnectionStart":2058.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":640,"responseStart":854,"responseEnd":857,"domLoading":858,"domInteractive":3281,"domContentLoadedEventStart":3281,"domContentLoadedEventEnd":3340,"domComplete":4834,"loadEventStart":4834,"loadEventEnd":4834,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3264.800000190735},{"name":"bigPipe.sidebar-id.end","time":3265.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":3265.800000190735},{"name":"bigPipe.activity-panel-pipe-id.end","time":3266.4000000953674},{"name":"activityTabFullyLoaded","time":3346.9000000953674}],"measures":[],"correlationId":"9dd466ea0e0e59","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":86,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}