mariadb/storage/innobase/handler
Kristian Nielsen cc49f00994 Move InnoDB/XtraDB to async deadlock kill for parallel replication.
In 10.2, use the thd_rpl_deadlock_check() API. This way, all the
locking hacks around thd_report_wait_for() can be removed. Now
parallel replication deadlock kill happens asynchroneously, from the
slave background thread.

In InnoDB, remove also the buffering of wait reports, to simplify the
code, as this is no longer needed when the locking issues are gone.

In XtraDB, the buffering is kept for now. This is just because
presumably XtraDB will eventually be updated to MySQL 5.7-based InnoDB
as well, so there is little need to modify the existing code only for
clean-up purposes.

The old synchronous function thd_report_wait_for() is no longer used
and removed in this patch.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2016-10-17 12:52:14 +02:00
..
ha_innodb.cc Move InnoDB/XtraDB to async deadlock kill for parallel replication. 2016-10-17 12:52:14 +02:00
ha_innodb.h
ha_innopart.cc
ha_innopart.h
handler0alter.cc
handler0alter_innopart.cc
i_s.cc After merge and bug fixes 2016-10-05 01:11:08 +03:00
i_s.h