[MDEV-29707] Incorrect/bad errno on enabling wsrep_on after setting dummy wsrep_provider on non-Galera build Created: 2022-10-05 Updated: 2022-10-10 Resolved: 2022-10-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.4.27, 10.5.18, 10.6.11, 10.7.7, 10.8.6, 10.9.4, 10.10.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roel Van de Paar | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | not-10.3, wsrep | ||
| Description |
|
When a non-Galera build is started with a dummy wsrep_provider:
It leads to:
The -2147284456 number is abritary, and it's value seems to depend on the string provided as wsrep_provider (here dummy), as well as the server version (it is not consitent between versions but it is consistent when the SQL is repeated): it looks like a bad memory read or similar. An UB+ASAN build does not show any related output. |