[MDEV-30140] Some wsrep provider options only validate the first character of the value when setting it dynamically. Created: 2022-12-01 Updated: 2023-03-28 Resolved: 2023-03-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.4, 11.0.0, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.11.3, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Ramesh Sivaraman | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
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.
WSREP_PROVIDER_EVS_CAUSAL_KEEPALIVE_PERIOD will have a truncated value in wsrep_provider_options.
These are the variables that have this issue.
|
| Comments |
| Comment by Ramesh Sivaraman [ 2022-12-02 ] | |||||||||||||
|
Similarly WSREP_PROVIDER GCS_FC_LIMIT does not allow setting value in kilobyte format.
It was permissible to set the value through wsrep_provider_options
| |||||||||||||
| Comment by Daniele Sciascia [ 2022-12-07 ] | |||||||||||||
|
This bug is not caused by
results in:
The source of the issue has been tracked down in galera library: https://github.com/codership/galera/issues/630 | |||||||||||||
| Comment by Ramesh Sivaraman [ 2023-02-09 ] | |||||||||||||
|
This issue is fixed in the latest Galera revision
| |||||||||||||
| Comment by Jan Lindström [ 2023-03-23 ] | |||||||||||||
|
ralf.gebhardt This fix is released on Galera library 26.4.14. In my understanding it is not fixed on 25.3.x. | |||||||||||||
| Comment by Julius Goryavsky [ 2023-03-28 ] | |||||||||||||
|
Already fixed with Galera 26.4.14 and current wsrep-lib |