Non booststrap node crash while attemping to perform table%cache operations. Warning: "BF applier failed to open_and_lock_tables"
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On a PXC 3 node cluster, if all traffic is only hitting one node, all is fine, but when it hits all three, nodes start going down with the following error:
2015-01-26 16:38:05 18913 [Warning] WSREP: BF applier failed to open_and_
2015-01-26 16:38:05 18913 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 1615, 288690954
2015-01-26 16:38:05 18913 [Warning] WSREP: Failed to apply app buffer: seqno: 288690954, status: 1
at galera/
Retrying 2th time
2015-01-26 16:38:05 18913 [Warning] WSREP: BF applier failed to open_and_
2015-01-26 16:38:05 18913 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 1615, 288690954
2015-01-26 16:38:05 18913 [Warning] WSREP: Failed to apply app buffer: seqno: 288690954, status: 1
at galera/
Retrying 3th time
2015-01-26 16:38:05 18913 [Warning] WSREP: BF applier failed to open_and_
2015-01-26 16:38:05 18913 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 1615, 288690954
2015-01-26 16:38:05 18913 [Warning] WSREP: Failed to apply app buffer: seqno: 288690954, status: 1
at galera/
Retrying 4th time
2015-01-26 16:38:05 18913 [Warning] WSREP: BF applier failed to open_and_
2015-01-26 16:38:05 18913 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 1615, 288690954
2015-01-26 16:38:05 18913 [Warning] WSREP: failed to replay trx: source: 541e9f59-
2015-01-26 16:38:05 18913 [Warning] WSREP: Failed to apply trx 288690954 4 times
2015-01-26 16:38:05 18913 [ERROR] WSREP: trx_replay failed for: 6, query: void
2015-01-26 16:38:05 18913 [ERROR] Aborting
And the following stack trace:
12:38:09 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. 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.
Please help us make Percona XtraDB Cluster better by reporting any
bugs at https:/
key_buffer_
read_buffer_
max_used_
max_threads=502
thread_count=39
connection_count=30
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0xc3b2b70
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 = 7fbd01564d38 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Increasing values for table_open_cache didn't make any changes.
MySQL Version:
mysqld Ver 5.6.21-70.1-56 for Linux on x86_64 (Percona XtraDB Cluster (GPL), Release rel70.1, Revision 938, WSREP version 25.8, wsrep_25.8.r4150)
My.cnf contents:
[mysql]
# CLIENT #
port = 3306
socket = /var/lib/
[mysqld]
# GENERAL #
user = mysql
default-
socket = /var/lib/
pid-file = /home/mysql/
core-file
# MyISAM #
key-buffer-size = 32M
myisam-recover = FORCE,BACKUP
event_scheduler = ON
# SAFETY #
max-allowed-packet = 16M
max-connect-errors = 1000000
skip-name-resolve
# DATA STORAGE #
datadir = /home/mysql/data/
# BINARY LOGGING #
log-bin = /home/mysql/
expire-logs-days = 14
sync-binlog = 1
# CACHES AND LIMITS #
tmp-table-size = 1024M
max-heap-table-size = 512M
query-cache-type = 0
query-cache-size = 0
max-connections = 500
thread-cache-size = 50
open-files-limit = 65535
table-definitio
table-open-cache = 94392
# INNODB #
innodb-
innodb-
innodb-
innodb-
innodb-
# LOGGING #
log-error = /home/mysql/
log-queries-
slow-query-log = 1
slow-query-log-file = /home/mysql/
symbolic-links=0
wsrep_provider=
wsrep_provider_
wsrep_cluster_
binlog_format=ROW
default_
innodb_
wsrep_node_
wsrep_slave_
wsrep_sst_
wsrep_cluster_
A potential fix for this has been merged for inclusion in 5.6.22-25.8.