mariadb/mysql-test/suite/rpl/t/rpl_gtid_mdev9033.cnf
Nirbhay Choubey f47124c9ef Incorrect statements binlogged on slave with do_domain_ids=(...)
In domain ID based filtering, a flag is used to filter-out
the events that belong to a particular domain. This flag gets
set when IO thread receives a GTID_EVENT for the domain on
filter list and its reset at the last event in the GTID group.
The resetting, however, was wrongly done before the decision to
write/filter the event from relay log is made. As a result, the
last event in the group will always pass through the filter.
Fixed by deferring the reset logic. Also added a test case.
2015-11-18 02:11:20 -05:00

20 lines
274 B
INI

!include ../my.cnf
[mysqld.1]
log-slave-updates
loose-innodb
gtid_domain_id=1
[mysqld.2]
log-slave-updates
loose-innodb
gtid_domain_id=2
[mysqld.3]
log-slave-updates
loose-innodb
gtid_domain_id=3
[ENV]
SERVER_MYPORT_3= @mysqld.3.port
SERVER_MYSOCK_3= @mysqld.3.socket