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":789.7000000476837,"ttfb":211.79999995231628,"pageVisibility":"visible","entityId":52227,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9256438f-561b-4c8e-baad-7d28db548250","navigationType":0,"readyForUser":857.5999999046326,"redirectCount":0,"resourceLoadedEnd":535.0999999046326,"resourceLoadedStart":220.29999995231628,"resourceTiming":[{"duration":12.900000095367432,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":220.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":233.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":12.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":220.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":233.29999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":175.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":220.59999990463257,"connectEnd":220.59999990463257,"connectStart":220.59999990463257,"domainLookupEnd":220.59999990463257,"domainLookupStart":220.59999990463257,"fetchStart":220.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":241.5,"responseEnd":396.09999990463257,"responseStart":272.90000009536743,"secureConnectionStart":220.59999990463257},{"duration":314.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":220.59999990463257,"connectEnd":220.59999990463257,"connectStart":220.59999990463257,"domainLookupEnd":220.59999990463257,"domainLookupStart":220.59999990463257,"fetchStart":220.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":241.70000004768372,"responseEnd":535.0999999046326,"responseStart":288.59999990463257,"secureConnectionStart":220.59999990463257},{"duration":56,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":220.70000004768372,"connectEnd":220.70000004768372,"connectStart":220.70000004768372,"domainLookupEnd":220.70000004768372,"domainLookupStart":220.70000004768372,"fetchStart":220.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":241.79999995231628,"responseEnd":276.7000000476837,"responseStart":274.90000009536743,"secureConnectionStart":220.70000004768372},{"duration":60,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":220.79999995231628,"connectEnd":220.79999995231628,"connectStart":220.79999995231628,"domainLookupEnd":220.79999995231628,"domainLookupStart":220.79999995231628,"fetchStart":220.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":245.40000009536743,"responseEnd":280.7999999523163,"responseStart":278.90000009536743,"secureConnectionStart":220.79999995231628},{"duration":57.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":220.90000009536743,"connectEnd":220.90000009536743,"connectStart":220.90000009536743,"domainLookupEnd":220.90000009536743,"domainLookupStart":220.90000009536743,"fetchStart":220.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":244.40000009536743,"responseEnd":278.59999990463257,"responseStart":277,"secureConnectionStart":220.90000009536743},{"duration":16.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":221,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":237.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":62.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":221.09999990463257,"connectEnd":221.09999990463257,"connectStart":221.09999990463257,"domainLookupEnd":221.09999990463257,"domainLookupStart":221.09999990463257,"fetchStart":221.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":248.29999995231628,"responseEnd":283.40000009536743,"responseStart":281,"secureConnectionStart":221.09999990463257},{"duration":18.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":221.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":240,"responseStart":0,"secureConnectionStart":0},{"duration":62.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":221.40000009536743,"connectEnd":221.40000009536743,"connectStart":221.40000009536743,"domainLookupEnd":221.40000009536743,"domainLookupStart":221.40000009536743,"fetchStart":221.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":248.59999990463257,"responseEnd":284.09999990463257,"responseStart":281.7999999523163,"secureConnectionStart":221.40000009536743},{"duration":239.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":222,"connectEnd":222,"connectStart":222,"domainLookupEnd":222,"domainLookupStart":222,"fetchStart":222,"redirectEnd":0,"redirectStart":0,"requestStart":251,"responseEnd":461.7000000476837,"responseStart":456.2999999523163,"secureConnectionStart":222},{"duration":240.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":222,"connectEnd":222,"connectStart":222,"domainLookupEnd":222,"domainLookupStart":222,"fetchStart":222,"redirectEnd":0,"redirectStart":0,"requestStart":258.5,"responseEnd":462.2000000476837,"responseStart":458.7000000476837,"secureConnectionStart":222},{"duration":100.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":538.7000000476837,"connectEnd":538.7000000476837,"connectStart":538.7000000476837,"domainLookupEnd":538.7000000476837,"domainLookupStart":538.7000000476837,"fetchStart":538.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":607.2000000476837,"responseEnd":639.2000000476837,"responseStart":638.2000000476837,"secureConnectionStart":538.7000000476837},{"duration":144.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":747.0999999046326,"connectEnd":747.0999999046326,"connectStart":747.0999999046326,"domainLookupEnd":747.0999999046326,"domainLookupStart":747.0999999046326,"fetchStart":747.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":860.2000000476837,"responseEnd":891.2999999523163,"responseStart":889.7000000476837,"secureConnectionStart":747.0999999046326},{"duration":120,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":781.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":781.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":901.7000000476837,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":40,"responseStart":211,"responseEnd":222,"domLoading":215,"domInteractive":945,"domContentLoadedEventStart":945,"domContentLoadedEventEnd":987,"domComplete":1385,"loadEventStart":1385,"loadEventEnd":1385,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":925.5},{"name":"bigPipe.sidebar-id.end","time":926.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":926.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":927.0999999046326},{"name":"activityTabFullyLoaded","time":1002}],"measures":[],"correlationId":"2d8c8e0df2a8a6","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/commit/af2f7ce3f915c4686ef04294b00c6f4885503f5e