Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
Since 10.5, variables for binlog configuration require BINLOG ADMIN privilege, not SUPER . I think the same should apply to the new max_binlog_total_size and slave_connections_needed_for_purge variables, too.
bb-11.4-timestamp 53df87b27d9e0c0e7e5f2e2e7e5aabd86aa20bee
MariaDB [(none)]> show grants for current_user ();
+ ------------------------------------------------------+
| Grants for binlogger@localhost |
+ ------------------------------------------------------+
| GRANT BINLOG ADMIN ON *.* TO `binlogger`@`localhost` |
+ ------------------------------------------------------+
1 row in set (0.000 sec)
MariaDB [(none)]> set global max_binlog_size= 1024*1024;
Query OK, 0 rows affected (0.000 sec)
MariaDB [(none)]> set global max_binlog_total_size= 1024*1024;
ERROR 1227 (42000): Access denied; you need ( at least one of ) the SUPER privilege(s) for this operation
MariaDB [(none)]> set global slave_connections_needed_for_purge= 0;
ERROR 1227 (42000): Access denied; you need ( at least one of ) the SUPER privilege(s) for this operation
MariaDB [(none)]> show grants for current_user ();
+ ----------------------------------------------+
| Grants for superman@localhost |
+ ----------------------------------------------+
| GRANT SUPER ON *.* TO `superman`@`localhost` |
+ ----------------------------------------------+
1 row in set (0.000 sec)
MariaDB [(none)]> set global max_binlog_size= 1024*1024;
ERROR 1227 (42000): Access denied; you need ( at least one of ) the BINLOG ADMIN privilege(s) for this operation
MariaDB [(none)]> set global max_binlog_total_size= 1024*1024;
Query OK, 0 rows affected (0.000 sec)
MariaDB [(none)]> set global slave_connections_needed_for_purge= 0;
Query OK, 0 rows affected (0.000 sec)
is caused by
MDEV-31404
Implement binlog_space_limit
Closed
{"report":{"fcp":893.1000000014901,"ttfb":210.90000000596046,"pageVisibility":"visible","entityId":127417,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9f523324-c2e8-4fdd-bf1e-2156c02906b0","navigationType":0,"readyForUser":976.7000000029802,"redirectCount":0,"resourceLoadedEnd":590.9000000059605,"resourceLoadedStart":216.30000000447035,"resourceTiming":[{"duration":211.89999999850988,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":216.30000000447035,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":428.20000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":211.89999999850988,"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":216.60000000149012,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":428.5,"responseStart":0,"secureConnectionStart":0},{"duration":220.29999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":216.80000000447035,"connectEnd":216.80000000447035,"connectStart":216.80000000447035,"domainLookupEnd":216.80000000447035,"domainLookupStart":216.80000000447035,"fetchStart":216.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":216.80000000447035,"responseEnd":437.1000000014901,"responseStart":437.1000000014901,"secureConnectionStart":216.80000000447035},{"duration":303.19999999552965,"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":216.90000000596046,"connectEnd":216.90000000596046,"connectStart":216.90000000596046,"domainLookupEnd":216.90000000596046,"domainLookupStart":216.90000000596046,"fetchStart":216.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":216.90000000596046,"responseEnd":520.1000000014901,"responseStart":520.1000000014901,"secureConnectionStart":216.90000000596046},{"duration":306.1000000014901,"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":217.10000000149012,"connectEnd":217.10000000149012,"connectStart":217.10000000149012,"domainLookupEnd":217.10000000149012,"domainLookupStart":217.10000000149012,"fetchStart":217.10000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":217.10000000149012,"responseEnd":523.2000000029802,"responseStart":523.1000000014901,"secureConnectionStart":217.10000000149012},{"duration":306.29999999701977,"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":217.30000000447035,"connectEnd":217.30000000447035,"connectStart":217.30000000447035,"domainLookupEnd":217.30000000447035,"domainLookupStart":217.30000000447035,"fetchStart":217.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":217.30000000447035,"responseEnd":523.6000000014901,"responseStart":523.6000000014901,"secureConnectionStart":217.30000000447035},{"duration":306.5,"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":217.40000000596046,"connectEnd":217.40000000596046,"connectStart":217.40000000596046,"domainLookupEnd":217.40000000596046,"domainLookupStart":217.40000000596046,"fetchStart":217.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":217.40000000596046,"responseEnd":523.9000000059605,"responseStart":523.9000000059605,"secureConnectionStart":217.40000000596046},{"duration":360.70000000298023,"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":217.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":217.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":578.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":306.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":217.80000000447035,"connectEnd":217.80000000447035,"connectStart":217.80000000447035,"domainLookupEnd":217.80000000447035,"domainLookupStart":217.80000000447035,"fetchStart":217.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":217.80000000447035,"responseEnd":524.3000000044703,"responseStart":524.3000000044703,"secureConnectionStart":217.80000000447035},{"duration":360.59999999403954,"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":217.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":217.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":578.5,"responseStart":0,"secureConnectionStart":0},{"duration":306.80000000447035,"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":218.10000000149012,"connectEnd":218.10000000149012,"connectStart":218.10000000149012,"domainLookupEnd":218.10000000149012,"domainLookupStart":218.10000000149012,"fetchStart":218.10000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":218.10000000149012,"responseEnd":524.9000000059605,"responseStart":524.9000000059605,"secureConnectionStart":218.10000000149012},{"duration":360.3999999985099,"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":223.40000000596046,"connectEnd":223.40000000596046,"connectStart":223.40000000596046,"domainLookupEnd":223.40000000596046,"domainLookupStart":223.40000000596046,"fetchStart":223.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":223.40000000596046,"responseEnd":583.8000000044703,"responseStart":583.8000000044703,"secureConnectionStart":223.40000000596046},{"duration":367.5,"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":223.40000000596046,"connectEnd":223.40000000596046,"connectStart":223.40000000596046,"domainLookupEnd":223.40000000596046,"domainLookupStart":223.40000000596046,"fetchStart":223.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":223.40000000596046,"responseEnd":590.9000000059605,"responseStart":590.9000000059605,"secureConnectionStart":223.40000000596046},{"duration":71.89999999850988,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":604.6000000014901,"connectEnd":604.6000000014901,"connectStart":604.6000000014901,"domainLookupEnd":604.6000000014901,"domainLookupStart":604.6000000014901,"fetchStart":604.6000000014901,"redirectEnd":0,"redirectStart":0,"requestStart":604.6000000014901,"responseEnd":676.5,"responseStart":676.5,"secureConnectionStart":604.6000000014901}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":37,"responseStart":211,"responseEnd":218,"domLoading":215,"domInteractive":1035,"domContentLoadedEventStart":1035,"domContentLoadedEventEnd":1083,"domComplete":2271,"loadEventStart":2271,"loadEventEnd":2273,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1016.2000000029802},{"name":"bigPipe.sidebar-id.end","time":1017},{"name":"bigPipe.activity-panel-pipe-id.start","time":1017.1000000014901},{"name":"bigPipe.activity-panel-pipe-id.end","time":1019.6000000014901},{"name":"activityTabFullyLoaded","time":1096.8000000044703}],"measures":[],"correlationId":"34dd600b7c94be","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":108,"dbReadsTimeInMs":13,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}