Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
11.0.0 , 10.4(EOL) , 10.5 , 10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL) , 10.11
Some wsrep provider options only validate the first character of the value when setting it dynamically. This causes the wsrep options to be set to an invalid value and those options in wsrep_provider_options to have a truncated value.
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD=Panyvalue;
Query OK, 0 rows affected (0.000 sec)
node2:root@localhost>
node2:root@localhost> SELECT @@WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD;
+----------------------------------------------+
| @@WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD |
+----------------------------------------------+
| Panyvalue |
+----------------------------------------------+
1 row in set (0.013 sec)
node2:root@localhost>
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD=anyvalue;
ERROR 1231 (42000): Variable 'evs_causal_keepalive_period' can't be set to the value of 'anyvalue'
node2:root@localhost>
WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD will have a truncated value in wsrep_provider_options.
node2:root@localhost> select @@wsrep_provider_options\G
*************************** 1. row ***************************
@@wsrep_provider_options: base_dir = /test/mtest/GAL_MD281122-mariadb-10.11.2-linux-x86_64-dbg/node2/; base_host = 127.0.0.1; base_port = 11842; cert.log_conflicts = no; cert.optimistic_pa = yes; debug = no; evs.auto_evict = 0; evs.causal_keepalive_period = P; [..]
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_DELAYED_KEEP_PERIOD=Pdummy;
Query OK, 0 rows affected (0.001 sec)
node2:root@localhost> select @@WSREP_PROVIDER_EVS_DELAYED_KEEP_PERIOD;
+------------------------------------------+
| @@WSREP_PROVIDER_EVS_DELAYED_KEEP_PERIOD |
+------------------------------------------+
| Pdummy |
+------------------------------------------+
1 row in set (0.000 sec)
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_DELAYED_KEEP_PERIOD=dummy;
ERROR 1231 (42000): Variable 'evs_delayed_keep_period' can't be set to the value of 'dummy'
node2:root@localhost>
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_DEBUG_LOG_MASK='1dummy';
Query OK, 0 rows affected (0.000 sec)
node2:root@localhost> select @@WSREP_PROVIDER_EVS_DEBUG_LOG_MASK;
+-------------------------------------+
| @@WSREP_PROVIDER_EVS_DEBUG_LOG_MASK |
+-------------------------------------+
| 1dummy |
+-------------------------------------+
1 row in set (0.031 sec)
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_DEBUG_LOG_MASK='dummy';
Query OK, 0 rows affected (0.000 sec)
node2:root@localhost> select @@WSREP_PROVIDER_EVS_DEBUG_LOG_MASK;
+-------------------------------------+
| @@WSREP_PROVIDER_EVS_DEBUG_LOG_MASK |
+-------------------------------------+
| dummy |
+-------------------------------------+
1 row in set (0.000 sec)
node2:root@localhost>
node2:root@localhost> SET GLOBAL WSREP_PROVIDER_EVS_DEBUG_LOG_MASK='ummy';
ERROR 1231 (42000): Variable 'evs_debug_log_mask' can't be set to the value of 'ummy'
node2:root@localhost>
These are the variables that have this issue.
WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD
WSREP_PROVIDER_EVS_DEBUG_LOG_MASK
WSREP_PROVIDER_EVS_DELAYED_KEEP_PERIOD
WSREP_PROVIDER_EVS_DELAY_MARGIN
WSREP_PROVIDER_EVS_INACTIVE_CHECK_PERIOD
WSREP_PROVIDER_EVS_INACTIVE_TIMEOUT
WSREP_PROVIDER_EVS_INFO_LOG_MASK
WSREP_PROVIDER_EVS_INSTALL_TIMEOUT
WSREP_PROVIDER_EVS_JOIN_RETRANS_PERIOD
WSREP_PROVIDER_EVS_KEEPALIVE_PERIOD
WSREP_PROVIDER_EVS_STATS_REPORT_PERIOD
WSREP_PROVIDER_EVS_SUSPECT_TIMEOUT
WSREP_PROVIDER_REPL_CAUSAL_READ_TIMEOUT
relates to
MDEV-22570
Split wsrep_provider_options in several options
Closed
Transition
Time In Source Status
Execution Times
Open
Closed
117d 2h 48m
1
{"report":{"fcp":930.5,"ttfb":257.30000001192093,"pageVisibility":"visible","entityId":117365,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"362cd6d5-b760-4efd-ae12-22e30a2d2fe9","navigationType":0,"readyForUser":1057,"redirectCount":0,"resourceLoadedEnd":618.5,"resourceLoadedStart":263.19999998807907,"resourceTiming":[{"duration":59.70000001788139,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":263.19999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":263.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":322.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":59.80000001192093,"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":263.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":263.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":323.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":226.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":263.59999999403954,"connectEnd":263.59999999403954,"connectStart":263.59999999403954,"domainLookupEnd":263.59999999403954,"domainLookupStart":263.59999999403954,"fetchStart":263.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":328.90000000596046,"responseEnd":490.5,"responseStart":346.80000001192093,"secureConnectionStart":263.59999999403954},{"duration":354.59999999403954,"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":263.90000000596046,"connectEnd":263.90000000596046,"connectStart":263.90000000596046,"domainLookupEnd":263.90000000596046,"domainLookupStart":263.90000000596046,"fetchStart":263.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":329.69999998807907,"responseEnd":618.5,"responseStart":349.30000001192093,"secureConnectionStart":263.90000000596046},{"duration":89.69999998807907,"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":264,"connectEnd":264,"connectStart":264,"domainLookupEnd":264,"domainLookupStart":264,"fetchStart":264,"redirectEnd":0,"redirectStart":0,"requestStart":329.90000000596046,"responseEnd":353.69999998807907,"responseStart":350.59999999403954,"secureConnectionStart":264},{"duration":89.80000001192093,"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":264.19999998807907,"connectEnd":264.19999998807907,"connectStart":264.19999998807907,"domainLookupEnd":264.19999998807907,"domainLookupStart":264.19999998807907,"fetchStart":264.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":330.30000001192093,"responseEnd":354,"responseStart":351.30000001192093,"secureConnectionStart":264.19999998807907},{"duration":89.7999999821186,"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":264.40000000596046,"connectEnd":264.40000000596046,"connectStart":264.40000000596046,"domainLookupEnd":264.40000000596046,"domainLookupStart":264.40000000596046,"fetchStart":264.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":330.40000000596046,"responseEnd":354.19999998807907,"responseStart":351.90000000596046,"secureConnectionStart":264.40000000596046},{"duration":65.59999999403954,"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":264.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":330.09999999403954,"responseStart":0,"secureConnectionStart":0},{"duration":95.2000000178814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":264.69999998807907,"connectEnd":264.69999998807907,"connectStart":264.69999998807907,"domainLookupEnd":264.69999998807907,"domainLookupStart":264.69999998807907,"fetchStart":264.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":335.69999998807907,"responseEnd":359.90000000596046,"responseStart":358.80000001192093,"secureConnectionStart":264.69999998807907},{"duration":68.5,"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":264.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":333.40000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":96.80000001192093,"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":265.09999999403954,"connectEnd":265.09999999403954,"connectStart":265.09999999403954,"domainLookupEnd":265.09999999403954,"domainLookupStart":265.09999999403954,"fetchStart":265.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":339,"responseEnd":361.90000000596046,"responseStart":360.40000000596046,"secureConnectionStart":265.09999999403954},{"duration":284.7999999821186,"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":274.30000001192093,"connectEnd":274.30000001192093,"connectStart":274.30000001192093,"domainLookupEnd":274.30000001192093,"domainLookupStart":274.30000001192093,"fetchStart":274.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":389,"responseEnd":559.0999999940395,"responseStart":551.3000000119209,"secureConnectionStart":274.30000001192093},{"duration":285.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":274.59999999403954,"connectEnd":274.59999999403954,"connectStart":274.59999999403954,"domainLookupEnd":274.59999999403954,"domainLookupStart":274.59999999403954,"fetchStart":274.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":443.5,"responseEnd":560.0999999940395,"responseStart":555,"secureConnectionStart":274.59999999403954},{"duration":160.09999999403954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":619.3000000119209,"connectEnd":619.3000000119209,"connectStart":619.3000000119209,"domainLookupEnd":619.3000000119209,"domainLookupStart":619.3000000119209,"fetchStart":619.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":746.8000000119209,"responseEnd":779.4000000059605,"responseStart":778.3000000119209,"secureConnectionStart":619.3000000119209}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":63,"responseStart":257,"responseEnd":274,"domLoading":261,"domInteractive":1161,"domContentLoadedEventStart":1161,"domContentLoadedEventEnd":1207,"domComplete":1717,"loadEventStart":1717,"loadEventEnd":1717,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1139.5999999940395},{"name":"bigPipe.sidebar-id.end","time":1140.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1140.5999999940395},{"name":"bigPipe.activity-panel-pipe-id.end","time":1141.5},{"name":"activityTabFullyLoaded","time":1223.800000011921}],"measures":[],"correlationId":"8b571cdf9a6c4f","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":18,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}