[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>
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.
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://bugs.launchpad.net/percona-xtradb-cluster
key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=1
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_size)*max_threads = 69258 K bytes of memory
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 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x8f97d5]
/usr/sbin/mysqld(handle_fatal_signal+0x4b4)[0x6655c4]
/lib64/libpthread.so.0(+0xf710)[0x7fdf6ffb5710]
/lib64/libc.so.6(gsignal+0x35)[0x7fdf6e3ff925]
/lib64/libc.so.6(abort+0x175)[0x7fdf6e401105]
/usr/lib64/libgalera_smm.so(_ZN6galera3FSMINS_9TrxHandle5StateENS1_10TransitionENS_10EmptyGuardENS_11EmptyActionEE8shift_toES2_+0x2d9)[0x7fdf52e04d39]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM13post_rollbackEPNS_9TrxHandleE+0x2e)[0x7fdf52e1f5ce]
/usr/lib64/libgalera_smm.so(galera_post_rollback+0x68)[0x7fdf52e38cb8]
/usr/sbin/mysqld[0x7a857e]
/usr/sbin/mysqld(_Z15ha_rollback_lowP3THDb+0x97)[0x5a5037]
/usr/sbin/mysqld(_ZN13MYSQL_BIN_LOG8rollbackEP3THDb+0x10f)[0x8b1d7f]
/usr/sbin/mysqld(_Z17ha_rollback_transP3THDb+0x74)[0x5a4e04]
/usr/sbin/mysqld[0x7a857e]
/usr/sbin/mysqld(_Z15ha_rollback_lowP3THDb+0x97)[0x5a5037]
/usr/sbin/mysqld(_ZN13MYSQL_BIN_LOG8rollbackEP3THDb+0x10f)[0x8b1d7f]
/usr/sbin/mysqld(_Z17ha_rollback_transP3THDb+0x74)[0x5a4e04]
/usr/sbin/mysqld(_Z15ha_commit_transP3THDbb+0x312)[0x5a56e2]
/usr/sbin/mysqld(_Z17trans_commit_stmtP3THD+0x35)[0x78d995]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x954)[0x6ea184]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x658)[0x6f0338]
/usr/sbin/mysqld[0x6f0491]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x19d5)[0x6f2675]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x22b)[0x6f3b5b]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x17f)[0x6bc30f]
/usr/sbin/mysqld(handle_one_connection+0x47)[0x6bc4f7]
/usr/sbin/mysqld(pfs_spawn_thread+0x12a)[0xaf38ba]
/lib64/libpthread.so.0(+0x79d1)[0x7fdf6ffad9d1]
/lib64/libc.so.6(clone+0x6d)[0x7fdf6e4b5b6d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fdf00005230): is an invalid pointer
Connection ID (thread ID): 3
Status: NOT_KILLED
You may download the Percona XtraDB Cluster operations manual by visiting http://www.percona.com/software/percona-xtradb-cluster/. You may find information
in the manual which will help you identify the cause of the crash.
150121 15:06:34 mysqld_safe Number of processes running now: 0
150121 15:06:34 mysqld_safe WSREP: not restarting wsrep node automatically
150121 15:06:34 mysqld_safe mysqld from pid file /var/lib/mysql/percona-pxc56-1.pid ended
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 mysqld( my_print_ stacktrace+ 0x35)[0x8f97d5] mysqld( handle_ fatal_signal+ 0x4b4)[ 0x6655c4] libpthread. so.0(+0xf710) [0x7fdf6ffb5710 ] libc.so. 6(gsignal+ 0x35)[0x7fdf6e3 ff925] libc.so. 6(abort+ 0x175)[ 0x7fdf6e401105] libgalera_ smm.so( _ZN6galera3FSMI NS_9TrxHandle5S tateENS1_ 10TransitionENS _10EmptyGuardEN S_11EmptyAction EE8shift_ toES2_+ 0x2d9)[ 0x7fdf52e04d39] libgalera_ smm.so( _ZN6galera13Rep licatorSMM13pos t_rollbackEPNS_ 9TrxHandleE+ 0x2e)[0x7fdf52e 1f5ce] libgalera_ smm.so( galera_ post_rollback+ 0x68)[0x7fdf52e 38cb8] mysqld[ 0x7a857e] mysqld( _Z15ha_ rollback_ lowP3THDb+ 0x97)[0x5a5037] mysqld( _ZN13MYSQL_ BIN_LOG8rollbac kEP3THDb+ 0x10f)[ 0x8b1d7f] mysqld( _Z17ha_ rollback_ transP3THDb+ 0x74)[0x5a4e04] mysqld[ 0x7a857e] mysqld( _Z15ha_ rollback_ lowP3THDb+ 0x97)[0x5a5037] mysqld( _ZN13MYSQL_ BIN_LOG8rollbac kEP3THDb+ 0x10f)[ 0x8b1d7f] mysqld( _Z17ha_ rollback_ transP3THDb+ 0x74)[0x5a4e04] mysqld( _Z15ha_ commit_ transP3THDbb+ 0x312)[ 0x5a56e2] mysqld( _Z17trans_ commit_ stmtP3THD+ 0x35)[0x78d995] mysqld( _Z21mysql_ execute_ commandP3THD+ 0x954)[ 0x6ea184] mysqld( _Z11mysql_ parseP3THDPcjP1 2Parser_ state+0x658) [0x6f0338] mysqld[ 0x6f0491] mysqld( _Z16dispatch_ command19enum_ server_ commandP3THDPcj +0x19d5) [0x6f2675] mysqld( _Z10do_ commandP3THD+ 0x22b)[ 0x6f3b5b] mysqld( _Z24do_ handle_ one_connectionP 3THD+0x17f) [0x6bc30f] mysqld( handle_ one_connection+ 0x47)[0x6bc4f7] mysqld( pfs_spawn_ thread+ 0x12a)[ 0xaf38ba] libpthread. so.0(+0x79d1) [0x7fdf6ffad9d1 ] libc.so. 6(clone+ 0x6d)[0x7fdf6e4 b5b6d]
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 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/
/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 (7fdf00005230): is an invalid pointer
Connection ID (thread ID): 3
Status: NOT_KILLED
You may download the Percona XtraDB Cluster operations manual by visiting www.percona. com/software/ percona- xtradb- cluster/. You may find information mysql/percona- pxc56-1. pid ended
http://
in the manual which will help you identify the cause of the crash.
150121 15:06:34 mysqld_safe Number of processes running now: 0
150121 15:06:34 mysqld_safe WSREP: not restarting wsrep node automatically
150121 15:06:34 mysqld_safe mysqld from pid file /var/lib/