Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13578

rpl.rpl_row_corruption failed in buildbot


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.3
    • Fix Version/s: 10.3.1
    • Component/s: Tests
    • Labels:



      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.*");
      SET @save_debug= @@global.debug;
      SET GLOBAL debug_dbug="+d,inject_tblmap_same_id_maps_diff_table";
      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 ]
      SET GLOBAL debug_dbug="-d,inject_tblmap_same_id_maps_diff_table";

      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


          Issue Links



              • Assignee:
                Elkin Andrei Elkin
                alice Alice Sherepa
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: