mariadb/mysql-test/suite
seppo 38839854b7 MDEV-19572 async slave node fails to apply MyISAM only writes (#1418)
The problem happens when MariaDB master replicates writes for only non InnoDB
tables (e.g. writes to MyISAM table(s)). Async slave node, in Galera cluster,
can apply these writes successfully, but it will, in the end, write gtid position in
mysql.gtid_slave_pos table. mysql.gtid_slave_pos table is InnoDB engine, and
this write makes innodb handlerton part of the replicated "transaction".
Note that wsrep patch identifies that write to gtid_slave_pos should not be replicated
and skips appending wsrep keys for these writes. However, as InnoDB was present
in the transaction, and there are replication events (for MyISAM table) in transaction
cache, but there are no appended keys, wsrep raises an error, and this makes the söave
thread to stop.

The fix is simply to not treat it as an error if async slave tries to replicate a write
set with binlog events, but no keys. We just skip wsrep replication and return successfully.

This commit contains also a mtr test which forces mysql.gtid_slave_pos table isto be
of InnoDB engine, and executes MyISAM only write through asyn replication.

There is additional fix for declaring IO and background slave threads as non wsrep.
These threads should not write anything for wsrep replication, and this is just a safeguard
to make sure nothing leaks into cluster from these slave threads.
2019-11-26 08:49:50 +02:00
..
archive MDEV-17297: stats.records=0 for a table of Archive engine when it has rows, when we run ANALYZE command 2019-04-18 23:12:43 +03:00
binlog MDEV-20188: binlog.binlog_stm_drop_tmp_tbl fails in buildbot with Unknown table on exec 2019-08-26 14:03:51 +05:30
binlog_encryption MDEV-20953: binlog_encryption.rpl_corruption failed in buildbot due to wrong error code 2019-11-12 16:31:08 +05:30
csv
encryption MDEV-16111 encryption.innodb_lotoftables failed in buildbot with wrong result 2019-06-12 19:08:49 +03:00
engines Merge branch '10.0' into 10.1 2018-11-15 17:20:26 +01:00
federated Merge branch '10.0' into 10.1 2018-06-12 18:55:27 +03:00
funcs_1 MDEV-15945 --ps-protocol does not test some queries 2019-03-12 13:10:49 +01:00
funcs_2
galera MDEV-19572 async slave node fails to apply MyISAM only writes (#1418) 2019-11-26 08:49:50 +02:00
galera_3nodes MDEV-16021: galera mtr test galera_evs_suspect_timeout crashed 2019-05-17 08:29:45 +03:00
handler MDEV-15945 --ps-protocol does not test some queries 2019-03-12 13:10:49 +01:00
heap Merge remote-tracking branch 'origin/5.5-galera' into 10.0-galera 2018-10-30 13:22:52 +02:00
innodb MDEV-20354 All but last insert ignored in InnoDB tables when table locked 2019-10-30 23:14:44 +01:00
innodb_fts MDEV-20987 InnoDB fails to start when fts table has FK relation 2019-11-06 08:12:00 +02:00
innodb_zip MDEV-14904 Backport innodb_default_row_format 2018-03-07 17:49:42 +02:00
jp
large_tests
maria MDEV-18094: Query with order by limit picking index scan over filesort 2019-09-21 12:14:05 +05:30
mariabackup MDEV-12711 mariabackup --backup is refused for multi-file system tablespace 2019-03-26 13:51:15 +02:00
mtr/t
mtr2
multi_source MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured 2019-06-27 09:54:20 +05:30
optimizer_unfixed_bugs
parts Merge 5.5 into 10.1 2019-10-11 15:19:55 +03:00
percona
perfschema MDEV-17896 Assertion `pfs->get_refcount() > 0' failed 2019-11-01 11:10:04 +02:00
perfschema_stress Update FSF Address 2019-05-11 21:29:06 +03:00
plugins MDEV-18686 Add option to PAM authentication plugin to allow case insensitive username matching 2019-04-24 16:06:54 +02:00
roles MDEV-18298 Crashes server with segfault during role grants 2019-04-02 18:22:37 +02:00
rpl MDEV-20953: binlog_encryption.rpl_corruption failed in buildbot due to wrong error code 2019-11-12 16:31:08 +05:30
storage_engine Merge 10.0 into 10.1 2019-03-27 11:56:08 +02:00
stress
sys_vars XtraDB 5.6.45-86.1 2019-10-30 13:21:36 +02:00
unit Merge branch '5.5' into 10.0 2018-06-21 00:44:10 +02:00
vcol Merge 10.0 into 10.1 2019-03-27 11:56:08 +02:00
wsrep MDEV-18778: mysql_tzinfo_to_sql does not work correctly in MariaDB Galera 2019-08-16 07:01:30 +03:00