[MDEV-13578] rpl.rpl_row_corruption failed in buildbot Created: 2017-08-18  Updated: 2017-12-12  Resolved: 2017-11-14

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.3
Fix Version/s: 10.3.1

Type: Bug Priority: Major
Reporter: Alice Sherepa Assignee: Andrei Elkin
Resolution: Duplicate Votes: 0
Labels: None

Attachments: File rpl.rpl_row_corruption.log    
Issue Links:
Duplicate
is duplicated by MDEV-13519 rpl.show_status_stop_slave_race-7126 ... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/9240/steps/test_3/logs/stdio

rpl.rpl_row_corruption 'row'             w4 [ fail ]
        Test ended at 2017-08-17 11:22:00
CURRENT_TEST: rpl.rpl_row_corruption
mysqltest: In included file "./include/wait_for_slave_param.inc": 
included from ./include/wait_for_slave_io_to_start.inc at line 40:
included from ./include/wait_for_slave_to_start.inc at line 26:
included from ./include/start_slave.inc at line 35:
included from /mnt/buildbot/build/mariadb-10.3.1/mysql-test/suite/rpl/t/rpl_row_corruption.test at line 47:
At line 119: query 'let $_show_slave_status_value= query_get_value("SHOW SLAVE STATUS", $slave_param, 1)' failed: 2013: Lost connection to MySQL server during query
The result from queries just before the failure was:
< snip >
INSERT INTO t2_11753004 VALUES (2);
connection slave;
call mtr.add_suppression(".*Found table map event mapping table id 0 which was already mapped but with different settings.*");
include/stop_slave.inc
SET @save_debug= @@global.debug;
SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
include/start_slave.inc
connection master;
UPDATE t1_11753004, t2_11753004 SET t1_11753004.c1=3, t2_11753004.c1=4 WHERE t1_11753004.c1=1 OR t2_11753004.c1=2;
connection slave;
include/wait_for_slave_sql_error.inc [errno=1593 ]
include/stop_slave.inc
SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";
include/start_slave.inc

2017-08-17 11:21:59 2896153408 [ERROR] Slave SQL: Fatal error: Found table map event mapping table id 0 which was already mapped but with different settings. Gtid 0-1-5, Internal MariaDB error code: 1593
2017-08-17 11:21:59 2896153408 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'master-bin.000001' position 1141
2017-08-17 11:21:59 2896153408 [Note] Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 1141
2017-08-17 11:21:59 2895850304 [ERROR] Error reading packet from server: Lost connection to MySQL server during query (server_errno=2013)
2017-08-17 11:21:59 2895850304 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 1597
sql_set_variables: mutex: LOCK_global_system_variables (0x9748560) unlocking
mysql_execute_command: THD::enter_stage: /home/buildbot/buildbot/build/mariadb-10.3.1/sql/sql_parse.cc:6220
close_thread_tables: THD::enter_stage: /home/buildbot/buildbot/build/mariadb-10.3.1/sql/sql_base.cc:714
debug_sync: debug_sync_point: hit: 'before_close_thread_tables'
mysql_parse: THD::enter_stage: /home/buildbot/buildbot/build/mariadb-10.3.1/sql/sql_parse.cc:7913

next_event: mutex: mysqld: /home/buildbot/buildbot/build/mariadb-10.3.1/sql/sql_base.cc:204: uint get_table_def_key(const TABLE_LIST*, const char**): Assertion `!strcmp(table_list->get_db_name(), table_list->mdl_request.key.db_name()) && !strcmp(table_list->get_table_name(), table_list->mdl_request.key.name())' failed.
LOCK_log (0xb782e70) locking
my_hash_first_from_hash_value: exit: found key at 6
next_event: mutex: 170817 11:21:59 LOCK_log (0xb782e70) locked
[ERROR] mysqld got signal 6 ;

please find full log attached



 Comments   
Comment by Elena Stepanova [ 2017-08-18 ]

See also MDEV-13519.

Comment by Andrei Elkin [ 2017-11-14 ]

This one is closed by its parent MDEV-13519.

Generated at Thu Feb 08 08:06:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.