I've tried to change the DEFINER of a VIEW and therefore executed the following statement on the first node, which has a correct syntax:
ALTER DEFINER=`someuser`@`localhost` VIEW someview AS <select_statement>
|
The statement has been replicated to the other nodes as follows:
ALTER ALGORITHM=DEFINER=`someuser`@`localhost` SQL SECURITY DEFINER VIEW `someview` AS <select_statement>
|
Which is a incorrect syntax and therefore could not be commited on the other nodes:
150714 13:06:38 [ERROR] Slave SQL: Error 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DEFINER=`someuser`@`localhost` SQL SECURITY DEFINER VIEW `someview' at line 1' on query. Default database: 'somedb'. Query: 'ALTER ALGORITHM=DEFINER=`someuser`@`localhost` SQL SECURITY DEFINER VIEW someview` AS <selectstatement>
|
150714 13:06:38 [Warning] WSREP: RBR event 1 Query apply warning: 1, 2546
|
150714 13:06:38 [Warning] WSREP: Ignoring error for TO isolated action: source: c7ba1dcd-26e4-11e5-b1d1-c72d7419d838 version: 3 local: 0 state: APPLYING flags: 65 conn_id: 105519 trx_id: -1 seqnos (l: 3740, g:
|
2546, s: 2545, d: 2545, ts: 1358234290006683)
|
A workaround is to explicitly set the algorithm like:
ALTER ALGORITHM=UNDEFINED DEFINER=`someuser`@`localhost` VIEW someview AS <select_statement>
|
{"report":{"fcp":1719.8999996185303,"ttfb":390.79999923706055,"pageVisibility":"visible","entityId":52227,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"935a3508-38be-422c-8e70-dcef17c831bf","navigationType":0,"readyForUser":1828,"redirectCount":0,"resourceLoadedEnd":1451.2999992370605,"resourceLoadedStart":410,"resourceTiming":[{"duration":387.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":410,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":410,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":797.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":387.69999980926514,"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":410.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":410.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":798.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":856.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":410.5999994277954,"connectEnd":410.5999994277954,"connectStart":410.5999994277954,"domainLookupEnd":410.5999994277954,"domainLookupStart":410.5999994277954,"fetchStart":410.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":805.6999998092651,"responseEnd":1267.3999996185303,"responseStart":825,"secureConnectionStart":410.5999994277954},{"duration":1011.3000001907349,"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":411.19999980926514,"connectEnd":411.19999980926514,"connectStart":411.19999980926514,"domainLookupEnd":411.19999980926514,"domainLookupStart":411.19999980926514,"fetchStart":411.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":806.5999994277954,"responseEnd":1422.5,"responseStart":836.0999994277954,"secureConnectionStart":411.19999980926514},{"duration":416.3999996185303,"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":411.3999996185303,"connectEnd":411.3999996185303,"connectStart":411.3999996185303,"domainLookupEnd":411.3999996185303,"domainLookupStart":411.3999996185303,"fetchStart":411.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":809.3999996185303,"responseEnd":827.7999992370605,"responseStart":825.7999992370605,"secureConnectionStart":411.3999996185303},{"duration":416.69999980926514,"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":411.69999980926514,"connectEnd":411.69999980926514,"connectStart":411.69999980926514,"domainLookupEnd":411.69999980926514,"domainLookupStart":411.69999980926514,"fetchStart":411.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":810,"responseEnd":828.3999996185303,"responseStart":826.8999996185303,"secureConnectionStart":411.69999980926514},{"duration":417.6000003814697,"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":411.79999923706055,"connectEnd":411.79999923706055,"connectStart":411.79999923706055,"domainLookupEnd":411.79999923706055,"domainLookupStart":411.79999923706055,"fetchStart":411.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":810.5,"responseEnd":829.3999996185303,"responseStart":828.5999994277954,"secureConnectionStart":411.79999923706055},{"duration":397.3999996185303,"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":412,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":412,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":809.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":433.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":412.0999994277954,"connectEnd":412.0999994277954,"connectStart":412.0999994277954,"domainLookupEnd":412.0999994277954,"domainLookupStart":412.0999994277954,"fetchStart":412.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":819.5999994277954,"responseEnd":845.6999998092651,"responseStart":839.6999998092651,"secureConnectionStart":412.0999994277954},{"duration":403,"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":412.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":412.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":815.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":436.4000005722046,"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":412.29999923706055,"connectEnd":412.29999923706055,"connectStart":412.29999923706055,"domainLookupEnd":412.29999923706055,"domainLookupStart":412.29999923706055,"fetchStart":412.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":821.2999992370605,"responseEnd":848.6999998092651,"responseStart":846.3999996185303,"secureConnectionStart":412.29999923706055},{"duration":1000.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":419.5,"connectEnd":419.5,"connectStart":419.5,"domainLookupEnd":419.5,"domainLookupStart":419.5,"fetchStart":419.5,"redirectEnd":0,"redirectStart":0,"requestStart":1027.8999996185303,"responseEnd":1419.6999998092651,"responseStart":1416.0999994277954,"secureConnectionStart":419.5},{"duration":1031.6999998092651,"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":419.5999994277954,"connectEnd":419.5999994277954,"connectStart":419.5999994277954,"domainLookupEnd":419.5999994277954,"domainLookupStart":419.5999994277954,"fetchStart":419.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1206.1999998092651,"responseEnd":1451.2999992370605,"responseStart":1448.0999994277954,"secureConnectionStart":419.5999994277954},{"duration":208.5999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1414.6999998092651,"connectEnd":1414.6999998092651,"connectStart":1414.6999998092651,"domainLookupEnd":1414.6999998092651,"domainLookupStart":1414.6999998092651,"fetchStart":1414.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1589.0999994277954,"responseEnd":1623.2999992370605,"responseStart":1620.7999992370605,"secureConnectionStart":1414.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":210,"responseStart":391,"responseEnd":419,"domLoading":395,"domInteractive":1943,"domContentLoadedEventStart":1943,"domContentLoadedEventEnd":1992,"domComplete":2432,"loadEventStart":2432,"loadEventEnd":2432,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1886.7999992370605},{"name":"bigPipe.sidebar-id.end","time":1887.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1888.0999994277954},{"name":"bigPipe.activity-panel-pipe-id.end","time":1888.8999996185303},{"name":"activityTabFullyLoaded","time":2014}],"measures":[],"correlationId":"19005be79d4a1b","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":107,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/commit/af2f7ce3f915c4686ef04294b00c6f4885503f5e