Hi All,
My percona version is :Percona-XtraDB-Cluster-5.6.26-25.12-r624ef81-el5-x86_64-bundle
Below is the error messaga.
2015-12-08 05:24:43 4fb69940 InnoDB: Assertion failure in thread 1337366848 in file ha_innodb.cc line 6011
InnoDB: Failing assertion: str_length <= tmp_length
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com .
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://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
10:24:43 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=4
max_threads=153
thread_count=9
connection_count=4
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 69123 K bytes of memory
Hope that’s ok; if not, decrease some variables in the equation.
Thread pointer: 0x18441e20
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 = 4fb69058 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x914d75]
/usr/sbin/mysqld(handle_fatal_signal+0x4b4)[0x686de4]
/lib64/libpthread.so.0[0x3f3d20eb10]
/lib64/libc.so.6(gsignal+0x35)[0x3f3c630265]
/lib64/libc.so.6(abort+0x110)[0x3f3c631d10]
/usr/sbin/mysqld[0x95f80e]
/usr/sbin/mysqld[0x96065b]
/usr/sbin/mysqld(ZN11ha_innobase17wsrep_append_keysEP3THDbPKhS3 +0x1f4)[0x961254]
/usr/sbin/mysqld[0x96c5c5]
/usr/sbin/mysqld(_ZN7handler12ha_write_rowEPh+0xab)[0x5cd4cb]
/usr/sbin/mysqld(Z12write_recordP3THDP5TABLEP9COPY_INFOS4 +0x79)[0x6eed79]
/usr/sbin/mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0xb17)[0x6f67d7]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x228f)[0x70c6bf]
/usr/sbin/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x3ee)[0x720f2e]
/usr/sbin/mysqld(ZN18Prepared_statement12execute_loopEP6StringbPhS2 +0xc3)[0x7251e3]
/usr/sbin/mysqld(_Z19mysqld_stmt_executeP3THDPcj+0x2e5)[0x725fc5]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x14b8)[0x7130b8]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x21b)[0x714b8b]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x17f)[0x6dc32f]
/usr/sbin/mysqld(handle_one_connection+0x47)[0x6dc517]
/usr/sbin/mysqld(pfs_spawn_thread+0x12a)[0x94e47a]
/lib64/libpthread.so.0[0x3f3d20673d]
/lib64/libc.so.6(clone+0x6d)[0x3f3c6d3d1d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (2aabbc09b3a8): is an invalid pointer
Connection ID (thread ID): 14
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.
151208 05:24:43 mysqld_safe Number of processes running now: 0
151208 05:24:43 mysqld_safe WSREP: not restarting wsrep node automatically
151208 05:24:43 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
What I do is to load data into a table with text fields:
CREATE TABLE news
(
id
bigint(20) NOT NULL DEFAULT ‘0’,
jsid
bigint(20) NOT NULL DEFAULT ‘0’,
newstype
char(16) DEFAULT NULL,
market
char(8) DEFAULT NULL,
date
datetime DEFAULT NULL,
title
varchar(511) DEFAULT NULL,
media
varchar(127) DEFAULT NULL,
author
varchar(127) DEFAULT NULL,
content
mediumtext,
relations
varchar(2048) DEFAULT NULL,
stocks
varchar(1024) DEFAULT NULL,
url
char(255) DEFAULT NULL,
imgtype
int(11) DEFAULT NULL,
imgext
char(8) DEFAULT NULL,
imgsize
int(11) DEFAULT NULL,
imgurl
char(255) DEFAULT NULL,
deleted
int(1) DEFAULT ‘0’,
PRIMARY KEY (id
,jsid
) USING BTREE,
UNIQUE KEY ix_news_jsid
(jsid
),
KEY ix_news
(newstype
,market
,date
),
FULLTEXT KEY FID_relations
(relations
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
This is a VM with 8G Mem. I used mysqldump and ETL to load data. By ETL, if I ignore content and relation columns, the transfer can be finished successfully; Otherwise, I’ll get above errors. Is this a problem related to blob fields?
In mysql5.6 and percona5.6, I don’t have this problem.