[MDEV-18594] wsrep_on should not be changeable at runtime Created: 2019-02-15 Updated: 2020-09-07 Resolved: 2020-09-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Rick Pizzi | Assignee: | Julius Goryavsky |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | galera | ||
| Description |
|
The wsrep_on variable can be changed at runtime with set global. (This actually happened at a customer of ours) Please, make this variable only settable from config file at startup, |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2019-03-28 ] |
|
Do not think we can change this variable from dynamic to static on GA-releases. |
| Comment by Sergei Golubchik [ 2020-05-29 ] |
|
I'm not even sure we should change it at all. It's a feature that some users might use. And it's protected by a specific privilege in 10.5, one cannot just change the variable unless one has privileges to do so. |
| Comment by Rick Pizzi [ 2020-05-29 ] |
|
We have an use case to set it to OFF: when we need to bring up one node without having it be part of the cluster. |
| Comment by Jan Lindström (Inactive) [ 2020-09-02 ] |
|
My proposal would be that we do not do this change at all, setting set global wsrep_on=OFF has clear use cases. Changing parameter not changeable, would effect lot of mtr test cases so my estimation is based on fact that those need rewrite. |
| Comment by Rick Pizzi [ 2020-09-07 ] |
|
jplindst what are these clear use cases? |