[MDEV-30120] Update the wsrep_provider_options read_only value in the system_variables table. Created: 2022-11-29  Updated: 2023-02-14  Resolved: 2022-12-09

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.11
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Ramesh Sivaraman Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-22570 Split wsrep_provider_options in sever... Closed

 Description   

Update the wsrep_provider_options read_only value in the system_variables table. If plugin-wsrep-provider=ON, the server sets the wsrep_provider_options variable as read-only, but it is not reflected in the system_variables table.

If we set plugin-wsrep-provider=OFF, the server allows changing wsrep_provider_options dynamically.

node1:root@localhost> SELECT VARIABLE_NAME,READ_ONLY FROM information_schema.system_variables where VARIABLE_NAME like '%wsrep_provider_options%';
+------------------------+-----------+
| VARIABLE_NAME          | READ_ONLY |
+------------------------+-----------+
| WSREP_PROVIDER_OPTIONS | NO        |
+------------------------+-----------+
1 row in set (0.085 sec)
 
node1:root@localhost> set global WSREP_PROVIDER_OPTIONS="gcs.fc_limit=32";
ERROR 1238 (HY000): Variable 'wsrep_provider_options' is a read only variable
node1:root@localhost> 



 Comments   
Comment by Jan Lindström (Inactive) [ 2022-12-09 ]

Fixed on branch : preview-10.11-MDEV-22570-wsrep-provider-options-plugin

Generated at Thu Feb 08 10:13:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.