Type:
Task
Priority:
Major
Resolution:
Fixed
Add configuration variable wsrep_strict_mode=[ON|OFF] where operations that are harmful or problematic in cluster environment are either refused with an error message or produce a warning.
Jan's suggested ideas:
A session has binlog_format set to STATEMENT, and the session writes to an InnoDB table. The associated statement will be logged in statement-based format, which is unsupported by Galera,
A session has binlog_format set to MIXED, and the session writes to an InnoDB table. The associated statement could be logged in statement-based format, which is unsupported by Galera.
A node has wsrep_replicate_myisam set to OFF, and a session on the node writes to a MyISAM table, so the write will not be replicated.
A node has wsrep_replicate_aria set to OFF, and a session on the node writes to an Aria table, so the write will not be replicated.
A session writes to any other non-InnoDB storage engine, so the write will not be replicated.
A session has wsrep_on set to OFF, and the session writes to an InnoDB table, so the write will not be replicated.
Approach used for the implementation:
wsrep_mode is a server variable that one can use to enable/disable specific Galera features.
To set or unset the various features, use the following syntax:
SET GLOBAL wsrep_mode='cmd[,cmd] ...';
Possible values:
DEFAULT : Disable all features
BINLOG_ROW_FORMAT_ONLY : Galera requires binlog format row
REQUIRED_PRIMARY_KEY : Galera will require primary key for tables
STRICT_REPLICATION : Warning is issued if changes are done to tables that storage engine is not supported by Galera
Variable wsrep_strict_ddl is deprecated and replaced with wsrep_mode='STRICT_REPLICATION'.
Transition
Time In Source Status
Execution Times
Open
Closed
567d 39m
1
{"report":{"fcp":1106.4000000953674,"ttfb":223.90000009536743,"pageVisibility":"visible","entityId":77428,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7934c2cf-7224-4882-935a-76b4b3b3a034","navigationType":0,"readyForUser":1207.2000002861023,"redirectCount":0,"resourceLoadedEnd":1096.3000001907349,"resourceLoadedStart":264.30000019073486,"resourceTiming":[{"duration":277.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":264.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":541.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":278.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":264.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":542.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":297.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":264.80000019073486,"connectEnd":264.80000019073486,"connectStart":264.80000019073486,"domainLookupEnd":264.80000019073486,"domainLookupStart":264.80000019073486,"fetchStart":264.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":264.80000019073486,"responseEnd":562.2000002861023,"responseStart":562.2000002861023,"secureConnectionStart":264.80000019073486},{"duration":407.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":265,"connectEnd":265,"connectStart":265,"domainLookupEnd":265,"domainLookupStart":265,"fetchStart":265,"redirectEnd":0,"redirectStart":0,"requestStart":265,"responseEnd":672.5999999046326,"responseStart":672.5999999046326,"secureConnectionStart":265},{"duration":410.90000009536743,"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":265.30000019073486,"connectEnd":265.30000019073486,"connectStart":265.30000019073486,"domainLookupEnd":265.30000019073486,"domainLookupStart":265.30000019073486,"fetchStart":265.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":265.30000019073486,"responseEnd":676.2000002861023,"responseStart":676.2000002861023,"secureConnectionStart":265.30000019073486},{"duration":411.30000019073486,"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":265.40000009536743,"connectEnd":265.40000009536743,"connectStart":265.40000009536743,"domainLookupEnd":265.40000009536743,"domainLookupStart":265.40000009536743,"fetchStart":265.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":265.40000009536743,"responseEnd":676.7000002861023,"responseStart":676.7000002861023,"secureConnectionStart":265.40000009536743},{"duration":411.5,"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":265.59999990463257,"connectEnd":265.59999990463257,"connectStart":265.59999990463257,"domainLookupEnd":265.59999990463257,"domainLookupStart":265.59999990463257,"fetchStart":265.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":265.59999990463257,"responseEnd":677.0999999046326,"responseStart":677.0999999046326,"secureConnectionStart":265.59999990463257},{"duration":446.7999997138977,"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":265.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":265.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":712.5,"responseStart":0,"secureConnectionStart":0},{"duration":411.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":265.90000009536743,"connectEnd":265.90000009536743,"connectStart":265.90000009536743,"domainLookupEnd":265.90000009536743,"domainLookupStart":265.90000009536743,"fetchStart":265.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":265.90000009536743,"responseEnd":677.5999999046326,"responseStart":677.5999999046326,"secureConnectionStart":265.90000009536743},{"duration":446.6000003814697,"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":266.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":266.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":712.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":411.90000009536743,"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":266.30000019073486,"connectEnd":266.30000019073486,"connectStart":266.30000019073486,"domainLookupEnd":266.30000019073486,"domainLookupStart":266.30000019073486,"fetchStart":266.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":266.30000019073486,"responseEnd":678.2000002861023,"responseStart":678.2000002861023,"secureConnectionStart":266.30000019073486},{"duration":602.8999996185303,"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":267.2000002861023,"connectEnd":267.2000002861023,"connectStart":267.2000002861023,"domainLookupEnd":267.2000002861023,"domainLookupStart":267.2000002861023,"fetchStart":267.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":267.2000002861023,"responseEnd":870.0999999046326,"responseStart":870.0999999046326,"secureConnectionStart":267.2000002861023},{"duration":829.0999999046326,"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":267.2000002861023,"connectEnd":267.2000002861023,"connectStart":267.2000002861023,"domainLookupEnd":267.2000002861023,"domainLookupStart":267.2000002861023,"fetchStart":267.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":267.2000002861023,"responseEnd":1096.3000001907349,"responseStart":1096.3000001907349,"secureConnectionStart":267.2000002861023},{"duration":146.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":724,"connectEnd":724,"connectStart":724,"domainLookupEnd":724,"domainLookupStart":724,"fetchStart":724,"redirectEnd":0,"redirectStart":0,"requestStart":724,"responseEnd":870.4000000953674,"responseStart":870.4000000953674,"secureConnectionStart":724},{"duration":307.59999990463257,"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","startTime":1011.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1011.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1318.9000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":32,"responseStart":223,"responseEnd":227,"domLoading":262,"domInteractive":1263,"domContentLoadedEventStart":1263,"domContentLoadedEventEnd":1318,"domComplete":1871,"loadEventStart":1871,"loadEventEnd":1872,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1244},{"name":"bigPipe.sidebar-id.end","time":1245},{"name":"bigPipe.activity-panel-pipe-id.start","time":1245.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1246},{"name":"activityTabFullyLoaded","time":1345.5999999046326}],"measures":[],"correlationId":"2f8e097d0b9b01","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":133,"dbReadsTimeInMs":28,"dbConnsTimeInMs":37,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}