[MDEV-26336] wsrep_sst_rsync crashes when log-bin is set but log-bin-index is not. Created: 2021-08-10 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.3.30 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Rolf Fokkens | Assignee: | Julius Goryavsky |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
After having upgraded several systems from MariaDB 10.2.x to MariaDB 10.3.30 we ran into the situation that a full SST does not work, this is in the donor logs:
|
| Comments |
| Comment by Rolf Fokkens [ 2021-08-10 ] |
|
The issue seems to be caused by the fact that MariaDB implicitly sets log-bin-index based on log-bin when log-bin is set. But the wsrep_sst_rsync script chooses if different default (mysql-bin.index) which does not match the MariaDB default. The workaround is simple: explicitly set log-bin-index in the galera config. This is what we did. The solution might be to have the wsrep_sst_rsync script adopt a default that is consistent with MariaDB's default. |
| Comment by Rolf Fokkens [ 2021-08-10 ] |
|
Not sure why we suddenly run into this, there are two changes that may cause this:
|