I'm testing migrating to MySQL 8.0.13 w/ xtrabackup 8.0.3 and I'm hitting an issue whereby when running
$ xtrabackup --backup --target-dir=/mnt/mysql --slave-info
correctly prints out:
181229 04:09:17 Backup created in directory '/tmp/xtrabackup_backupfiles/'
MySQL binlog position: filename 'mysql-bin.000007', position '155'
MySQL slave binlog position: master host '172.22.1.229', filename 'mysql-bin.000010', position '154', channel name: ''
however it proceeds to incorrectly write out:
$ cat /mnt/mysql/xtrabackup_slave_info
CHANGE MASTER TO MASTER_LOG_FILE='mysql-bin.000010', MASTER_LOG_POS=368;
It's actually writing the relay_log_pos instead of the exec_master_log_pos — as a result replication won't resume and I get :
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from position > file size'
The error originates from this commit: https://github.com/percona/percona-xtrabackup/blob/release-8.0-3-rc1/storage/innobase/xtrabackup/src/backup_mysql.cc#L1325
Thanks, and let me know if any more info is needed!