Bug #74433 Slave 5.5/5.6 crash while using MRG table,auto_increment,inner join and triggers
| Submitted: | 17 Oct 2014 23:32 | Modified: | 21 Oct 2014 9:25 |
|---|---|---|---|
| Reporter: | Philippe Bidault | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
| Version: | MySQL 5.6 and 5.5, 5.1.73, 5.6.22 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | auto_increment, INNER JOIN, merge table, Slave crash, triggers | ||
[17 Oct 2014 23:32]
Philippe Bidault
[20 Oct 2014 8:05]
MySQL Verification Team
Hello Philippe, Thank you for the report. Verified as described. Thanks, Umesh
[20 Oct 2014 8:08]
MySQL Verification Team
// Master 5.1.73, Slave 5.6.22
Slave
======
(gdb) bt
#0 0x0000003bf260c8ac in pthread_kill () from /lib64/libpthread.so.0
#1 0x00000000006968bc in handle_fatal_signal (sig=11) at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/signal_handler.cc:230
#2 <signal handler called>
#3 0x00000000008c2f27 in field_metadata (this=0x7f0b200095c8, thd=0x7f0b20000990, rli=0x332d5e0, table=0x7f0b2001e3e0, conv_table_var=0x7f0b3a516420, mem_root=0x7f0b20015fe8)
at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/rpl_utility.h:327
#4 table_def::compatible_with (this=0x7f0b200095c8, thd=0x7f0b20000990, rli=0x332d5e0, table=0x7f0b2001e3e0, conv_table_var=0x7f0b3a516420, mem_root=0x7f0b20015fe8)
at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/rpl_utility.cc:887
#5 0x00000000008a0cd3 in Rows_log_event::do_apply_event (this=0x7f0b20015ee0, rli=0x332d5e0) at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/log_event.cc:11144
#6 0x00000000008a8b08 in Log_event::apply_event (this=0x7f0b20015ee0, rli=0x332d5e0) at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/log_event.cc:3030
#7 0x00000000008d6ffb in apply_event_and_update_pos (ptr_ev=0x7f0b3a5166b8, thd=0x7f0b20000990, rli=0x332d5e0)
at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/rpl_slave.cc:3501
#8 0x00000000008d8cf2 in exec_relay_log_event (thd=0x7f0b20000990, rli=0x332d5e0) at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/rpl_slave.cc:3997
#9 0x00000000008da749 in handle_slave_sql (arg=<value optimized out>) at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/sql/rpl_slave.cc:5815
#10 0x0000000000b1fdca in pfs_spawn_thread (arg=0x7f0b28012b30) at /export/home/pb2/build/sb_0-13146752-1409933888.09/mysqlcom-pro-5.6.22/storage/perfschema/pfs.cc:1860
#11 0x0000003bf26079d1 in start_thread () from /lib64/libpthread.so.0
#12 0x0000003bf22e886d in clone () from /lib64/libc.so.6
[20 Oct 2014 8:09]
MySQL Verification Team
// How to repeat - Setup replication between Master(5.1.73) and Slave(5.6.22) - Master>Execute test case - Slave> Observe slave crashes Conf used: #Master [mysqld] user = root pid-file = /tmp/74433M/74433M.pid socket = /tmp/74433M/74433M.sock port = 3306 basedir = /data/ushastry/server/mysql-5.1.73 datadir = /tmp/74433M tmpdir = /tmp log-bin = master-bin log-bin-index = master-bin.index server-id = 1 binlog_format=mixed #Slave [mysqld] user = root pid-file = /tmp/74433S/74433S.pid socket = /tmp/74433S/74433S.sock port = 3307 basedir = /data/ushastry/server/mysql-advanced-5.6.22 datadir = /tmp/74433S tmpdir = /tmp relay-log-index = slave-relay-bin.index relay-log = slave-relay-bin server-id = 2
[20 Oct 2014 8:09]
MySQL Verification Team
Also, see related Bug #69574
[21 Oct 2014 9:25]
Philippe Bidault
Hello, I perhaps have a hint regarding this issue. I can reproduce the bug with Master 5.1.73 -> Slave 5.5.3 but not with slave 5.5.2 nor 5.5.1 And from what I can see in the MySQL documentation, the behavior of the multi-delete statements has been modified : http://dev.mysql.com/doc/refman/5.5/en/upgrading-from-previous-series.html "Incompatible change: In MySQL 5.5.3, several changes were made to alias resolution in multiple-table DELETE statements so that it is no longer possible to have inconsistent or ambiguous table aliases." Coincidence or negative side effect ? Philippe.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.