XtraBackup 2.2.10 does not work with MariaDB 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
2.2 |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
2.3 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
From Percona's forums:
I use xtrabackup on a Mariadb 10.0.15 running on Centos 6.7
It seems something changed in innobackupex. Yesterdays backup using the previous version 2.2.9 had no problems.
Any hints on how to solve this?
Thanks, Michiel
I include the log here:
innobackupex: Using server version 10.0.15-MariaDB-log
innobackupex: Created backup directory /var/backups/
150402 03:21:01 innobackupex: Starting ibbackup with command: xtrabackup --defaults-
ql/incr/
les='.*[.].*' --extra-
innobackupex: Waiting for ibbackup (pid=29526) to suspend
innobackupex: Suspend file '/var/backups/
xtrabackup version 2.2.10 based on MySQL server 5.6.22 Linux (x86_64) (revision id: )
incremental backup from 2555712792976 is enabled.
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /mydata/data
xtrabackup: open files limit requested 65535, set to 16384
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: using O_DIRECT
>> log scanned up to (2560735523319)
xtrabackup: Generating a list of tablespaces
xtrabackup: Creating suspend file '/var/backups/
150402 03:21:02 innobackupex: Continuing after ibbackup has suspended
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHANGED_
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/
main::mysql_
main::backup() called at /usr/bin/
innobackupex: Error:
Error executing 'FLUSH NO_WRITE_TO_BINLOG CHANGED_
150402 03:21:02 innobackupex: Waiting for ibbackup (pid=29526) to finish
Tags: None
mbetel
mbetel
Junior Member
Join Date: Sep 2013
Posts: 1
#2
04-02-2015, 04:48 AM
looking further, it looks like MariaDB does not support the statement FLUSH CHANGED_
thus making the if in #1966 true. Removing the 'CHANGED_
---
I have the same behaviour. The error line seems to come from https:/
Original message: http:// www.percona. com/forums/ questions- discussions/ percona- xtrabackup/ 34901-error- on-flush- no_write_ to_binlog- changed_ page_bitmaps- after-update- to-2-2- 10