Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5-galera
-
None
Description
Its only happens with XtraDB with REPLACE (InnoDB is not affected).
perl ./runall-new.pl --galera=mms --mysqld=--wsrep-provider=/usr/lib/galera/libgalera_smm.so --gendata=conf/galera/galera_stress.zz --grammar=conf/galera/galera_stress.yy --duration=600 --basedir=$BASEDIR
|
Stacktrace:
160714 18:06:51 [ERROR] Slave SQL: Could not execute Write_rows_v1 event on table test.table10000_innodb_key_pk_parts_2_int; Duplicate entry '0' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 1085, Internal MariaDB error code: 1062
|
160714 18:06:51 [Warning] WSREP: RBR event 10 Write_rows_v1 apply warning: 121, 245
|
160714 18:06:51 [Warning] WSREP: Failed to apply app buffer: seqno: 245, status: 1
|
at galera/src/trx_handle.cpp:apply():351
|
Retrying 2th time
|
160714 18:06:51 [ERROR] Slave SQL: Could not execute Write_rows_v1 event on table test.table10000_innodb_key_pk_parts_2_int; Duplicate entry '0' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event's master log FIRST, end_log_pos 1085, Internal MariaDB error code: 1062
|
160714 18:06:51 [Warning] WSREP: RBR event 10 Write_rows_v1 apply warning: 121, 245
|
2016-07-14 18:06:51 7f9743da6700 InnoDB: Assertion failure in thread 140287655175936 in file trx0sys.cc line 356
|
InnoDB: Failing assertion: xid_seqno > trx_sys_cur_xid_seqno
|
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.
|
160714 18:06:51 [ERROR] 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.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
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.
|
|
Server version: 10.0.26-MariaDB-wsrep-debug
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=11
|
max_threads=153
|
thread_count=13
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467156 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x7f974170b070
|
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 = 0x7f9743da5a60 thread_stack 0x48000
|
mysys/stacktrace.c:246(my_print_stacktrace)[0xe9a6e6]
|
sql/signal_handler.cc:155(handle_fatal_signal)[0x8792da]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f974315b330]
|
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f9741f73c37]
|
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f9741f77028]
|
trx/trx0sys.cc:357(trx_sys_update_wsrep_checkpoint(xid_t const*, unsigned char*, mtr_t*))[0xd35bcf]
|
trx/trx0trx.cc:1249(trx_write_serialisation_history)[0xd3c9c5]
|
trx/trx0trx.cc:1643(trx_commit_low(trx_t*, mtr_t*))[0xd3d9e6]
|
trx/trx0trx.cc:1672(trx_commit(trx_t*))[0xd3daaa]
|
trx/trx0roll.cc:1338(trx_rollback_finish)[0xd310bc]
|
trx/trx0roll.cc:124(trx_rollback_to_savepoint_low)[0xd2e8cc]
|
trx/trx0roll.cc:180(trx_rollback_for_mysql_low)[0xd2ec0a]
|
trx/trx0roll.cc:209(trx_rollback_for_mysql(trx_t*))[0xd2ef34]
|
handler/ha_innodb.cc:4810(innobase_rollback)[0xbaea2c]
|
sql/handler.cc:1688(ha_rollback_trans(THD*, bool))[0x87cf9c]
|
sql/transaction.cc:342(trans_rollback(THD*))[0x79978a]
|
sql/wsrep_applier.cc:343(wsrep_rollback)[0x804bb5]
|
sql/wsrep_applier.cc:371(wsrep_commit_cb(void*, unsigned int, wsrep_trx_meta const*, bool*, bool))[0x804caf]
|
/usr/lib/galera/libgalera_smm.so(+0x1d89fe)[0x7f97411879fe]
|
/usr/lib/galera/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0xd2)[0x7f974118a882]
|
/usr/lib/galera/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x10e)[0x7f974118d91e]
|
/usr/lib/galera/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x1b8)[0x7f974116a688]
|
/usr/lib/galera/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x4c)[0x7f974116be1c]
|
/usr/lib/galera/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x6b)[0x7f974118de7b]
|
/usr/lib/galera/libgalera_smm.so(galera_recv+0x18)[0x7f974119c658]
|
sql/wsrep_thd.cc:314(wsrep_replication_process)[0x8063fb]
|
sql/mysqld.cc:5478(start_wsrep_THD)[0x594c0c]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f9743153184]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f974203737d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x0):
|
Connection ID (thread ID): 1
|
Status: NOT_KILLED
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on
|
|
Attachments
Issue Links
- relates to
-
MDEV-9173 REPLACE INTO not updating auto_increment correctly for galera cluster
- Closed
-
MDEV-13085 InnoDB: Failing assertion: xid_seqno > trx_sys_cur_xid_seqno with wsrep_provider_options=repl.commit_order=2
- Closed