innodb_fake_changes crashes galera node
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Low
|
Krunal Bauskar |
Bug Description
Server version: 5.6.21-70.1-56 Percona XtraDB Cluster (GPL), Release rel70.1, Revision 938, WSREP version 25.8, wsrep_25.8.r4150
percona2 mysql> set innodb_
Query OK, 0 rows affected (0.00 sec)
percona2 mysql> update t1 set state=200 where id=1;
ERROR 2013 (HY000): Lost connection to MySQL server during query
Error log:
2014-12-19 10:43:59 5195 [ERROR] WSREP: FSM: no such a transition COMMITTING -> ROLLED_BACK
09:43:59 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=153
thread_count=4
connection_count=1
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: 0x315bf50
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 = 7effd41d8d38 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/usr/lib64/
/usr/lib64/
/usr/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/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7effc40105c0): is an invalid pointer
Connection ID (thread ID): 4
Confirmed with PXC 5.6.21. It seems problem of innodb_table_stats table in mysql. dba.stackexchan ge.com/ questions/ 54608/innodb- error-table- mysql-innodb- table-stats- not-found- after-upgrade- to-mys
Well described here: http://
[root@percona- pxc56-1 mysql]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.6.21-70.1-56 Percona XtraDB Cluster (GPL), Release rel70.1, Revision 938, WSREP version 25.8, wsrep_25.8.r4150
...
mysql> use test
Database changed
mysql> create table nil (id int, name varchar(10));
Query OK, 0 rows affected (0.04 sec)
mysql> insert into nil values (1, 'nilnandan');
Query OK, 1 row affected (0.01 sec)
mysql> insert into nil values (2, 'niljoshi');
Query OK, 1 row affected (0.00 sec)
mysql> ------- ------- -+----- --+ ------- ------- -+----- --+ ------- ------- -+----- --+
mysql> show global variables like 'innodb_fake%';
+------
| Variable_name | Value |
+------
| innodb_fake_changes | OFF |
+------
1 row in set (0.00 sec)
mysql> set global innodb_ fake_changes= 1;
Query OK, 0 rows affected (0.00 sec)
mysql> show global variables like 'innodb_fake%'; ------- ------- -+----- --+ ------- ------- -+----- --+ ------- ------- -+----- --+
+------
| Variable_name | Value |
+------
| innodb_fake_changes | ON |
+------
1 row in set (0.00 sec)
mysql> update nil set name = 'nil' where id = 2;
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql>
2015-01-21 15:05:47 7fdf07fff700 InnoDB: Error: Table "mysql" ."innodb_ table_stats" not found. /bugs.launchpad .net/percona- xtradb- cluster
2015-01-21 15:05:47 7fdf07fff700 InnoDB: Recalculation of persistent statistics requested for table "test"."nil" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
2015-01-21 15:06:34 7fdf404f8700 InnoDB: Error: unlock row could not find a 3 mode lock on the record
2015-01-21 15:06:34 7fdf404f8700 InnoDB: current statement: update nil set name = 'nil' where id = 2
2015-01-21 15:06:34 2737 [ERROR] WSREP: FSM: no such a transition COMMITTING -> ROLLED_BACK
09:36:34 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_ size=8388608 size=131072 connections= 1 size)*max_ threads = 69258 K bytes of memory
read_buffer_
max_used_
max_threads=153
thread_count=3
connection_count=1
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: 0x346db30
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 = 7fdf404f7d38 t...