[MDEV-25115] Changes to wsrep_gtid_domain_id in my.cnf are ignored on node restart Created: 2021-03-11 Updated: 2022-07-26 Resolved: 2021-08-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, wsrep |
| Affects Version/s: | 10.5.9 |
| Fix Version/s: | 10.5.13, 10.6.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
wsrep_gtid_domain_id is listed as a dynamic variable, and it can indeed be changed at runtime using SET GLOBAL; but when changing its value in the option files the change is not really picked up. I originally started up the cluster with
and I can confirm that the value gets indeed set to 100:
Now changing the value to 200 in {galera.cnf}and restarting the MariaDB service, I still get a value of 100, not 200, but I_S still claims it was set to that value via galera.cnf:
If I set it via SET GLOBAL, and make sure that at least one transaction is committed while this setting is active, that value gets preserved over restarts:
... restart ...
When restarting the other nodes they keep their original wsrep_gtid_domain_id though, and do not switch to 300. So the value is apparently pulled from some galera file at startup, and the value in the options file is only acting as a fallback. This is: a) confusing |