Maybe this is just a documentation glitch, but when I set up a backup-user with the privileges as described here and then run mariabackup under this user, I see `Missing required privilege CONNECTION ADMIN`.
Now, I don't mind adding this privilege for the backup-user, but the fact that the documentation doesn't mention this makes me wonder if I'm doing something wrong..
Now because I'm running a Galera-cluster using mariabackup as SST-method, and SST-documentation states that "The user account that performs the backup for the SST needs to have the same privileges as Mariabackup, which are the RELOAD , PROCESS, LOCK TABLES and REPLICATION CLIENT global privileges.", I'm wondering if I also should be adding the `CONNECTION ADMIN` privilege to the SST-user..
.. or am I just chasing a red herring, since everything seems to be running smooth? It's all a bit confusing to me.
{"report":{"fcp":817.3000001907349,"ttfb":261.40000009536743,"pageVisibility":"visible","entityId":126898,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"95df849c-a7be-4b53-a25f-b5d23762a7a6","navigationType":0,"readyForUser":877.4000000953674,"redirectCount":0,"resourceLoadedEnd":588.0999999046326,"resourceLoadedStart":268.59999990463257,"resourceTiming":[{"duration":5.900000095367432,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":268.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":268.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":274.5,"responseStart":0,"secureConnectionStart":0},{"duration":6.099999904632568,"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":268.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":268.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":275,"responseStart":0,"secureConnectionStart":0},{"duration":92.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":269.09999990463257,"connectEnd":269.09999990463257,"connectStart":269.09999990463257,"domainLookupEnd":269.09999990463257,"domainLookupStart":269.09999990463257,"fetchStart":269.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":278.19999980926514,"responseEnd":361.30000019073486,"responseStart":292.69999980926514,"secureConnectionStart":269.09999990463257},{"duration":151.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":270.09999990463257,"connectEnd":270.09999990463257,"connectStart":270.09999990463257,"domainLookupEnd":270.09999990463257,"domainLookupStart":270.09999990463257,"fetchStart":270.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":279.19999980926514,"responseEnd":421.59999990463257,"responseStart":315.19999980926514,"secureConnectionStart":270.09999990463257},{"duration":31.5,"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":270.30000019073486,"connectEnd":289.40000009536743,"connectStart":289.40000009536743,"domainLookupEnd":289.40000009536743,"domainLookupStart":289.40000009536743,"fetchStart":270.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":289.69999980926514,"responseEnd":301.80000019073486,"responseStart":300.40000009536743,"secureConnectionStart":289.40000009536743},{"duration":31.300000190734863,"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":270.59999990463257,"connectEnd":270.59999990463257,"connectStart":270.59999990463257,"domainLookupEnd":270.59999990463257,"domainLookupStart":270.59999990463257,"fetchStart":270.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":290.19999980926514,"responseEnd":301.90000009536743,"responseStart":301.09999990463257,"secureConnectionStart":270.59999990463257},{"duration":39.700000286102295,"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":270.69999980926514,"connectEnd":270.69999980926514,"connectStart":270.69999980926514,"domainLookupEnd":270.69999980926514,"domainLookupStart":270.69999980926514,"fetchStart":270.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":293.90000009536743,"responseEnd":310.40000009536743,"responseStart":304.5,"secureConnectionStart":270.69999980926514},{"duration":19.799999713897705,"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":270.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":270.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":290.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":43.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":271.09999990463257,"connectEnd":271.09999990463257,"connectStart":271.09999990463257,"domainLookupEnd":271.09999990463257,"domainLookupStart":271.09999990463257,"fetchStart":271.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":294.40000009536743,"responseEnd":314.40000009536743,"responseStart":305.59999990463257,"secureConnectionStart":271.09999990463257},{"duration":22.40000009536743,"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":271.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":271.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":293.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":43.39999961853027,"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":271.30000019073486,"connectEnd":271.30000019073486,"connectStart":271.30000019073486,"domainLookupEnd":271.30000019073486,"domainLookupStart":271.30000019073486,"fetchStart":271.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":295.19999980926514,"responseEnd":314.69999980926514,"responseStart":312.80000019073486,"secureConnectionStart":271.30000019073486},{"duration":309.09999990463257,"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":279,"connectEnd":279,"connectStart":279,"domainLookupEnd":279,"domainLookupStart":279,"fetchStart":279,"redirectEnd":0,"redirectStart":0,"requestStart":367.80000019073486,"responseEnd":588.0999999046326,"responseStart":583,"secureConnectionStart":279},{"duration":306.09999990463257,"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":279.5,"connectEnd":279.5,"connectStart":279.5,"domainLookupEnd":279.5,"domainLookupStart":279.5,"fetchStart":279.5,"redirectEnd":0,"redirectStart":0,"requestStart":370.40000009536743,"responseEnd":585.5999999046326,"responseStart":577.9000000953674,"secureConnectionStart":279.5},{"duration":193.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":571.6999998092651,"connectEnd":571.6999998092651,"connectStart":571.6999998092651,"domainLookupEnd":571.6999998092651,"domainLookupStart":571.6999998092651,"fetchStart":571.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":729.8000001907349,"responseEnd":765,"responseStart":764,"secureConnectionStart":571.6999998092651},{"duration":111.2000002861023,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":792.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":792.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":903.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":104,"responseStart":262,"responseEnd":280,"domLoading":265,"domInteractive":940,"domContentLoadedEventStart":940,"domContentLoadedEventEnd":984,"domComplete":1373,"loadEventStart":1373,"loadEventEnd":1374,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":911.6999998092651},{"name":"bigPipe.sidebar-id.end","time":912.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":912.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":914.5999999046326},{"name":"activityTabFullyLoaded","time":998.5999999046326}],"measures":[],"correlationId":"48d2701c16cd0","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":15,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
According to the code
extra/mariabackup/xtrabackup.cc
check_result |= check_privilege(
granted_privileges,
PRIVILEGE_WARNING);
it needs CONNECTION ADMIN privilege to kill long queries. Which is used if you have not specified --no-lock and specified --kill-long-queries-timeout or --kill-long-query-type.