Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0.16
-
Fix Version/s: 10.0.17
-
Component/s: Replication
-
Labels:
-
Environment:centos6.4
Description
Bug #70327 in mysql bug database,http://bugs.mysql.com/bug.php?id=70327
This bug has been fixed in mysql5.6.21,but I can still repeat it in mariadb10.0.14 and mariadb 10.0.16 which is lastest version I can find.
use case:
# master:
MariaDB [sbtest]> select version();show master status;
+---------------------+
| version() |
+---------------------+
| 10.0.16-MariaDB-log |
+---------------------+
1 row in set (0.00 sec)
+--------------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+--------------------------+----------+--------------+------------------+
| *SVR3327HW5885-bin.000001 | 320 *| | |
+--------------------------+----------+--------------+------------------+
1 row in set (0.00 sec)
# slave:
change master to master_host='192.168.60.51',master_user='xxxxxxx',master_password='xxxxxxx',master_port=55944,master_log_file='SVR3327HW5885-bin.*000002*',master_log_pos=320;
start slave;
# enter any DML query,then master will crash!
crash log
mysqld: /home/op1/mariadb-10.0.16/plugin/semisync/semisync_master.cc:750: int ReplSemiSyncMaster::commitTrx(const char*, my_off_t): Assertion `(thd_kill_statement_service->thd_kill_level_func(__null) == THD_ABORT_ASAP) || !active_tranxs_->is_tranx_end_pos(trx_wait_binlog_name, trx_wait_binlog_pos)' failed. 150215 15:33:24 [ERROR] mysqld got signal 6 ;
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
--source include/master-slave.inc create table t1 (i int); install soname 'semisync_master'; set global rpl_semi_sync_master_enabled = ON; --connection slave install soname 'semisync_slave'; --source include/stop_slave.inc set global rpl_semi_sync_slave_enabled = ON; change master to master_log_file='master-bin.000002', master_log_pos = 320; --source include/start_slave.inc --connection master insert into t1 values (1); drop table t1; --source include/rpl_end.inc