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.