Assertion failure in xtrabackup.cc: lsn_chosen == 1
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
High
|
Sergei Glushchenko | |||
2.4 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
Repeated, but intermittent assertion failures have been seen on a box running Debian 8 with PXB 2.3.3-1.jessie. This was also noticed in 2.2.3-2.1:
/usr/bin/
/usr/bin/
The stracktrace shows as:
-------
2016-04-08 04:21:45 7fb1bbff9740 InnoDB: Assertion failure in thread 140401340028736 in file xtrabackup.cc line 2503
InnoDB: Failing assertion: lsn_chosen == 1
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
02:21:45 UTC - xtrabackup got signal 6 ;
This could be because you hit a bug or data is corrupted.
This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
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/
/usr/bin/
/lib/x86_
/lib/x86_
/lib/x86_
/usr/bin/
/usr/bin/
/usr/bin/
/lib/x86_
/usr/bin/
Please report a bug at https:/
-------
The error has been observed in both full and incremental backups, both of which were streaming via SSH:
ssh -t -o PasswordAuthent
sudo /usr/bin/
--slave-info --kill-
--kill-
--incremental --compress --stream=xbstream \
| ssh -o PasswordAuthent
description: | updated |
description: | updated |
# Full my.cnf of source server
[client] mysqld/ mysqld. sock
port = 3306
socket = /var/run/
[mysqld_safe] mysqld/ mysqld. sock
socket = /var/run/
nice = -10
[mysqld] mysqld/ mysqld. pid mysqld/ mysqld. sock locking
user = mysql
pid-file = /var/run/
socket = /var/run/
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-
bind-address = 0.0.0.0
max_connect_errors = 5000
server-id = 3266239 increment = 1 offset = 1
auto-increment-
auto-increment-
## TEMP!!! format= MIXED
#binlog-
# MyISAM #
key-buffer-size = 64M
myisam-recover = FORCE,BACKUP
# SAFETY #
max-allowed-packet = 16M
max-connect-errors = 1000000
sysdate-is-now = 1
innodb = FORCE
innodb-strict-mode = 0
# BINARY LOGGING # mysql/mysql- bin dev.mysql. com/doc/ refman/ 5.0/en/ binary- log.html
log-bin = /var/lib/
#log-slave-updates = ON
expire-logs-days = 3
max_binlog_size = 750M
sync-binlog = 0 # http://
# CACHES AND LIMITS # n-cache = 12000
tmp-table-size = 256M
max-heap-table-size = 256M
query-cache-type = 0
query-cache-size = 0
max-connections = 10000
thread-cache-size = 200
open-files-limit = 65535
table-definitio
table-open-cache = 12000
# buffer_ size = 256K
# * per-Tread Buffer
#
read_buffer_size = 256K
read_rnd_
join_buffer_size = 512K
sort_buffer_size = 512K
thread_stack = 256K
# INNODB # log-files- in-group = 2 log-file- size = 4G file-per- table = 1 concurrency_ tickets = 1250 buffer_ pool_instances = 8 write_io_ threads = 6 lock_wait_ timeout = 10 dev.mysql. com/doc/ refman/ 5.5/en/ innodb- parameters. html#sysvar_ innodb_ io_capacity flush_log_ at_trx_ commit = 0 # http:// dev.mysql. com/doc/ refman/ 5.5/en/ innodb- parameters. html#sysvar_ innodb_ flush_log_ at_trx_ commit old_blocks_ time = 1000
innodb-flush-method = O_DIRECT
innodb-
innodb-
innodb-
innodb_
innodb_
innodb_
innodb_
innodb_io_capacity = 1000 # http://
innodb_
innodb_
innodb- buffer- pool-size = 80G file_format_ max = Barracuda
innodb_
innodb_file_format = Barracuda
# PERCONA SERVER SPECIFIC # adaptive_ flushing_ method = keep_average adaptive_ hash_index_ partitions = 16 buffer_ pool_restore_ at_startup = 1000 flush_neighbor_ pages = cont
innodb_
innodb_
innodb_
innodb_
# LOGGING # mysql/mysql- error.log not-using- indexes = 0 mysql/mysql- slow.log
log-error = /var/lib/
log-queries-
long_query_time = 2
slow-query-log = 1
slow-query-log-file = /var/lib/
[mysqldump]
quick
quote-names
max_allowed_packet = 32M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
[isamchk]
key_buffer = 6G
#
# * IMPORTANT: Additional settings that c...