mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
Currently, rpl_semi_sync is failing in PB due to the warning message: "Slave SQL: slave SQL thread is being stopped in the middle of " "applying of a group having updated a non-transaction table; " "waiting for the group completion ..." The problem started happening after the fix for BUG#11762407 what was automatically suppressing some warning messages. To fix the current issue, we suppress the aforementioned warning message and exploit the opportunity to make the sentence clearer.
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
################################################################################
|
|
# Please, check ./extra/rpl_tests/rpl_start_stop_slave.test
|
|
################################################################################
|
|
--source include/master-slave.inc
|
|
--source include/have_binlog_format_statement.inc
|
|
--source include/have_innodb.inc
|
|
|
|
# make innodb updates run fast
|
|
--connection slave
|
|
SET @old_innodb_flush_log_at_trx_commit= @@global.innodb_flush_log_at_trx_commit;
|
|
SET @@global.innodb_flush_log_at_trx_commit= 0;
|
|
--connection master
|
|
SET @old_innodb_flush_log_at_trx_commit= @@global.innodb_flush_log_at_trx_commit;
|
|
SET @@global.innodb_flush_log_at_trx_commit= 0;
|
|
|
|
SET @@session.binlog_direct_non_transactional_updates= FALSE;
|
|
--source ./extra/rpl_tests/rpl_start_stop_slave.test
|
|
|
|
# clean up
|
|
--connection slave
|
|
SET @@global.innodb_flush_log_at_trx_commit= @old_innodb_flush_log_at_trx_commit;
|
|
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
|
--connection master
|
|
SET @@global.innodb_flush_log_at_trx_commit= @old_innodb_flush_log_at_trx_commit;
|
|
|
|
--source include/rpl_end.inc
|