Type:
Task
Priority:
Minor
Resolution:
Fixed
Hi,
I know this is like a bit going backwards but to check consistency between:
nodes of (same) galera cluster
async slave of galera cluster
We need to set the binlog_format to STATEMENT (using a tool such as Percona pt-table-checksum by example).
This is also valid for other tools (such as pt-table-sync).
In https://mariadb.atlassian.net/browse/MDEV-6924 we have completely disallowed the change of the binlog_format, when wsrep_on = ON.
You can use a workaround, setting wsrep_on = off and run the pt-table-checksum, but this works only for asynchronous slaves. Also, this is dangerous if one user drops the created table, without setting wsrep_on = off (I need to test this, blog post in progress)
Rogue applications (or users, or bugs) may compromise data consistency between nodes of the same cluster, or between master (cluster/standalone) and async slaves(cluster/standalone) and this is the only way I see today to check the consistency.
Could this be set as a parameter, such as wsrep_allow_unsafe_binlog_format ?
Changing the binlog_format is still allowed in latest PXC, and it seems we are taking our own road here.
Joffrey
{"report":{"fcp":828.2000000029802,"ttfb":254.90000000596046,"pageVisibility":"visible","entityId":49400,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"ffd80ffe-b29c-4091-b996-815b8476172f","navigationType":0,"readyForUser":939,"redirectCount":0,"resourceLoadedEnd":583.2000000029802,"resourceLoadedStart":264.5,"resourceTiming":[{"duration":22.200000002980232,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":264.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":286.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":22.19999999552965,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":287.1000000014901,"responseStart":0,"secureConnectionStart":0},{"duration":167.60000000149012,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":265.1000000014901,"connectEnd":290.80000000447035,"connectStart":290.80000000447035,"domainLookupEnd":290.80000000447035,"domainLookupStart":290.80000000447035,"fetchStart":265.1000000014901,"redirectEnd":0,"redirectStart":0,"requestStart":292.20000000298023,"responseEnd":432.70000000298023,"responseStart":305,"secureConnectionStart":290.80000000447035},{"duration":287,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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.70000000298023,"connectEnd":265.70000000298023,"connectStart":265.70000000298023,"domainLookupEnd":265.70000000298023,"domainLookupStart":265.70000000298023,"fetchStart":265.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":292.40000000596046,"responseEnd":552.7000000029802,"responseStart":306.1000000014901,"secureConnectionStart":265.70000000298023},{"duration":59.399999998509884,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":265.80000000447035,"connectEnd":265.80000000447035,"connectStart":265.80000000447035,"domainLookupEnd":265.80000000447035,"domainLookupStart":265.80000000447035,"fetchStart":265.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":295.1000000014901,"responseEnd":325.20000000298023,"responseStart":320.5,"secureConnectionStart":265.80000000447035},{"duration":58.80000000447035,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":266,"connectEnd":266,"connectStart":266,"domainLookupEnd":266,"domainLookupStart":266,"fetchStart":266,"redirectEnd":0,"redirectStart":0,"requestStart":295.40000000596046,"responseEnd":324.80000000447035,"responseStart":319.5,"secureConnectionStart":266},{"duration":59.600000001490116,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":266.20000000298023,"connectEnd":266.20000000298023,"connectStart":266.20000000298023,"domainLookupEnd":266.20000000298023,"domainLookupStart":266.20000000298023,"fetchStart":266.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":295.6000000014901,"responseEnd":325.80000000447035,"responseStart":321.70000000298023,"secureConnectionStart":266.20000000298023},{"duration":29.899999998509884,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":266.30000000447035,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":266.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":296.20000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":60.20000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":266.6000000014901,"connectEnd":266.6000000014901,"connectStart":266.6000000014901,"domainLookupEnd":266.6000000014901,"domainLookupStart":266.6000000014901,"fetchStart":266.6000000014901,"redirectEnd":0,"redirectStart":0,"requestStart":297.20000000298023,"responseEnd":326.80000000447035,"responseStart":322.80000000447035,"secureConnectionStart":266.6000000014901},{"duration":29.799999997019768,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":266.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":296.5,"responseStart":0,"secureConnectionStart":0},{"duration":67.69999999552965,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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.90000000596046,"connectEnd":266.90000000596046,"connectStart":266.90000000596046,"domainLookupEnd":266.90000000596046,"domainLookupStart":266.90000000596046,"fetchStart":266.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":298.5,"responseEnd":334.6000000014901,"responseStart":325.90000000596046,"secureConnectionStart":266.90000000596046},{"duration":303.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":276.1000000014901,"connectEnd":276.1000000014901,"connectStart":276.1000000014901,"domainLookupEnd":276.1000000014901,"domainLookupStart":276.1000000014901,"fetchStart":276.1000000014901,"redirectEnd":0,"redirectStart":0,"requestStart":325.5,"responseEnd":579.8000000044703,"responseStart":571.7000000029802,"secureConnectionStart":276.1000000014901},{"duration":301.79999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":281.40000000596046,"connectEnd":281.40000000596046,"connectStart":281.40000000596046,"domainLookupEnd":281.40000000596046,"domainLookupStart":281.40000000596046,"fetchStart":281.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":341.1000000014901,"responseEnd":583.2000000029802,"responseStart":574.7000000029802,"secureConnectionStart":281.40000000596046},{"duration":89.19999999552965,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":579.8000000044703,"connectEnd":579.8000000044703,"connectStart":579.8000000044703,"domainLookupEnd":579.8000000044703,"domainLookupStart":579.8000000044703,"fetchStart":579.8000000044703,"redirectEnd":0,"redirectStart":0,"requestStart":635.4000000059605,"responseEnd":669,"responseStart":667.2000000029802,"secureConnectionStart":579.8000000044703},{"duration":227.60000000149012,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":820.6000000014901,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":820.6000000014901,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1048.2000000029802,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":69,"domainLookupEnd":77,"connectStart":77,"connectEnd":95,"secureConnectionStart":85,"requestStart":97,"responseStart":255,"responseEnd":281,"domLoading":259,"domInteractive":996,"domContentLoadedEventStart":996,"domContentLoadedEventEnd":1045,"domComplete":1495,"loadEventStart":1495,"loadEventEnd":1496,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":975},{"name":"bigPipe.sidebar-id.end","time":975.9000000059605},{"name":"bigPipe.activity-panel-pipe-id.start","time":976.1000000014901},{"name":"bigPipe.activity-panel-pipe-id.end","time":977.6000000014901},{"name":"activityTabFullyLoaded","time":1060}],"measures":[],"correlationId":"ed1606631ca96f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Hi Nirbhay,
as discussed together, I think we should re-enable ASAP the possibility to set the binlog_format to something else than ROW at the session level.
Thanks,
Joffrey