[MDEV-26915] SST scripts do not take log_bin_index setting into account if it's not in the [mysqld] section Created: 2021-10-27 Updated: 2022-02-24 Resolved: 2021-11-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera SST |
| Affects Version/s: | 10.4.12, 10.2.41, 10.3.32, 10.5.13, 10.6.5, 10.7.1, 10.8 |
| Fix Version/s: | 10.8.0, 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
With settings like these:
in [server] section of my.cnf, SST fails like this when removing the binary logs:
Here (mariabackup-based) SST script assumes that binlog index file has extension of .index, instead of reading proper log_bin_index value from the config file. The real index file (hostname.bdx) does not get removed, but all binary logs do. Then when SST completes, server is brought up and it reads the name of the binlog index file from [server] section, finding it. But in the index file there are filenames of deleted binary logs which are not found, so server shuts down. See GitHub source code: to find out what only [mysqld] section is checked for binary log related settings, even in current 10.7. |
| Comments |
| Comment by Julius Goryavsky [ 2021-11-23 ] |
|
Fixed: |