5.7 mtr crash mysqld: /ssd/toku/5.7-laurynas/percona-server/sql/binlog.cc:7987: virtual int MYSQL_BIN_LOG::prepare(THD*, bool): Assertion `thd->slave_thread ? opt_log_slave_updates : thd->variables.sql_log_bin' failed.

Description

Happens in tests:
tokudb.rpl.tokudb_innodb_xa_crash 'mix'
tokudb.rpl.tokudb_innodb_xa_crash 'row'
tokudb.rpl.tokudb_innodb_xa_crash 'stmt'

Environment

None

Activity

Show:
Laurynas Biveinis
January 14, 2016, 9:40 AM

It looks like MariaDB would do the same (use binlog as a trx coordinator) in this scenario.

George Lorch
January 14, 2016, 3:21 PM

Ahh, that makes sense. I thought I was missing something here. So then the real issue is that the assumptions in the assert are not correct and should be removed. I wonder if this should be mentioned upstream?

Thanks for the feedback.

Laurynas Biveinis
January 19, 2016, 5:49 AM

Yes this should be logged upstream and your patch sent by OCA.

George Lorch
January 19, 2016, 5:58 AM

Cool, I'll take care of that tomorrow.

George Lorch
January 19, 2016, 5:00 PM

Assignee

George Lorch

Reporter

George Lorch

Labels

External issue ID

None

Freshdesk Tickets

None

Fix versions

Affects versions

Priority

Major
Configure