Percona XtraDB cluster crashes when executing a delete query
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
New
|
Undecided
|
Unassigned |
Bug Description
We're running a 2 node Percona XtraDB Cluster; Version: 5.5.34-31.1-log (Release 31.1, wsrep_25.9.r3928) at Debian Wheezy x64.
Our servers are multicore, equipped with 64GB memory, 4x SSD in RAID.
When we execute a series of delete queries on various tables (cleanup script), the cluster crashes doing a delete from a table with only 150.000 records (we delete about 100.000 records). When we're only execute this latest query, the cluster doesn't crash.
We can reproduce this behaviour at our servers, but also at a test environment at virtual machines.
The following information is shown during the crash in mysql.log (at node 1):
-------
140122 13:22:13 [Note] WSREP: Created page /var/lib/
140122 13:22:36 [Note] WSREP: Created page /var/lib/
140122 13:22:59 [Note] WSREP: Deleted page /var/lib/
12:22:59 UTC - mysqld got signal 11 ;
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=8
connection_count=8
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: 0x7fe3d74d8fd0
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 = 7fe389a5aaa0 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib/x86_
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): is an invalid pointer
Connection ID (thread ID): 4
Status: NOT_KILLED
You may download the Percona XtraDB Cluster operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
140122 13:23:00 mysqld_safe Number of processes running now: 0
140122 13:23:00 mysqld_safe WSREP: not restarting wsrep node automatically
140122 13:23:00 mysqld_safe mysqld from pid file /var/lib/
-------
The following information is shown during the crash in mysql.log (at node 2):
-------
140122 13:22:13 [Note] WSREP: Created page /var/lib/
140122 13:22:36 [Note] WSREP: Created page /var/lib/
12:22:59 UTC - mysqld got signal 11 ;
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=7
connection_count=7
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: 0x2cd73b0
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 = 7f4888a2eaa0 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib/x86_
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): is an invalid pointer
Connection ID (thread ID): 1
Status: NOT_KILLED
You may download the Percona XtraDB Cluster operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
140122 13:23:00 mysqld_safe Number of processes running now: 0
140122 13:23:00 mysqld_safe WSREP: not restarting wsrep node automatically
140122 13:23:00 mysqld_safe mysqld from pid file /var/lib/
-------
Configuration node 1:
-------
[mysqld]
# General
server_id = 1
binlog_format = ROW
log_bin = mysql-bin
expire_logs_days = 5
datadir = /var/lib/mysql
tmpdir = /tmp
user = mysql
default-
# Cluster configuration
wsrep_cluster_
wsrep_provider = /usr/lib/
wsrep_node_address = 10.31.35.170
wsrep_slave_threads = 4
wsrep_cluster_name = domainname.com
wsrep_sst_method = xtrabackup
wsrep_sst_auth = xxx:xxx
wsrep_node_name = dc1-db-1
innodb_
innodb_
log_slave_updates = 1
# Caching & limits
tmp-table-size = 32M
max-heap-table-size = 32M
query-cache-type = 0
query-cache-size = 0
max-connections = 500
thread-cache-size = 50
open-files-limit = 65535
table-definitio
table-open-cache = 10240
# InnoDB #
innodb_
innodb-flush-method = O_DIRECT
innodb-
innodb-
innodb-
innodb-
innodb-
# Logging
log-error = /var/log/mysql.log
general-log = 0
general-log-file = "/var/log/
# Skip reverse DNS lookup of clients
skip-name-resolve
-------
Differences at node 2:
-------
server_id = 2
wsrep_cluster_
wsrep_node_address = 10.31.35.174
wsrep_node_name = dc2-db-1
The issue could be related to https:/
We've replaced galera 3 with galera 2: everything works fine.