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

master crashed when slave specfied a future position with semi-repl plugin

    XMLWordPrintable

Details

    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 ;

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              ahahazhang frank.zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.