xtrabackup increment crashes with --prepare --apply-log-only and --throttle

Bug #1691093 reported by Даниил Костин on 2017-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Status tracked in 2.4
2.3
Medium
Vasily Nemkov
2.4
Medium
Vasily Nemkov

Bug Description

xtrabackup increment crashes with --prepare --apply-log-only and --throttle

/usr/bin/xtrabackup version 2.4.7 based on MySQL server 5.7.13 Linux (i686) (revision id: 6f7a799)

/usr/bin/xtrabackup --defaults-file=/etc/mysql/percona-server.conf.d/mysqld.cnf --databases '"$DBNAMES"' --prepare --apply-log-only --password=XhXzmXQpoG3lFZ --throttle=40 --target-dir=/var/backups/mysql/daily/2017-05-16.Вторник/base --incremental-dir=/var/backups/mysql/daily/2017-05-16.Вторник/inc-2017-05-16.12h13m

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x10000
/usr/bin/xtrabackup(my_print_stacktrace+0x3c)[0x89ffcdc]
/usr/bin/xtrabackup(handle_fatal_signal+0x254)[0x85eb2a4]
[0xb77d4c14]
/lib/i386-linux-gnu/libpthread.so.0(__pthread_mutex_lock+0x16)[0xb77b4826]
/usr/bin/xtrabackup(_Z14os_event_resetP8os_event+0x23)[0x84399d3]
/usr/bin/xtrabackup(_Z24xtrabackup_io_throttlingv+0x48)[0x82fc228]
/usr/bin/xtrabackup(_Z9copy_fileP7ds_ctxtPKcS2_j+0x1b5)[0x831ace5]
/usr/bin/xtrabackup(_Z30ibx_copy_incremental_over_fullv+0x401)[0x831cfd1]
/usr/bin/xtrabackup(_Z16apply_log_finishv+0x2d)[0x831d25d]
/usr/bin/xtrabackup[0x8304035]
/usr/bin/xtrabackup(main+0x954)[0x82e4214]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0xb70c0637]
/usr/bin/xtrabackup[0x82f7b40]

Please report a bug at https://bugs.launchpad.net/percona-xtrabackup
INC backup stage finished at Вт май 16 12:30:46 UTC 2017 code 0

description: updated

I guess throttle was never intended to be used with prepare... At least it is not what have been tested. The fix will be to make throttle noop for prepare.

Vasily Nemkov (vasily.nemkov) wrote :

Merged PR

Vasily Nemkov (vasily.nemkov) wrote :

Merged into 2.4

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers