[MDEV-32169] Server installation does not enforce Galera upgrade to supported version Created: 2023-09-14 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Galera, Packaging |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.10, 10.11, 11.0, 11.1 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Julius Goryavsky |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
Some Linux distribution provide galera library in their default repositories, packaged by themselves or by Codership. These libraries can be older than the one that MariaDB provides, e.g. Ubuntu 20.04 Focal now has 26.4.3. For MariaDB server package installation, a galera library is required. However, at least the debian package doesn't depend on a specific Galera minor version, any 26.4 is sufficient. So if the old library was installed, the server doesn't upgrade it through dependencies. Apparently after changes made earlier this year in wsrep-lib submodule, the cluster no longer starts with the old library, it aborts saying
I have seen it with 10.10 and 11.2 server so far, but it is probably so for all versions. As long as the server requires the library, it should require the right version of the library through proper package dependencies. Also, the error messages do not explain that the library version is the issue. On the contrary, first the note says that the library loaded successfully, which reads as if the version is good enough, and only then it aborts with rather obscure errors. Since the server can come not just from packages but from other sources, in which case the problem wouldn't be solved by dependencies, it would be good to improve the error message as well. |