This website requires JavaScript.
Explore
Help
Sign in
mirror
/
mariadb
Watch
1
Star
0
Fork
You've already forked mariadb
0
mirror of
https://github.com/MariaDB/server.git
synced
2025-01-17 20:42:30 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
ffb38c9771
mariadb
/
mysql-test
/
include
/
rpl_connection_slave1.inc
3 lines
69 B
PHP
Raw
Normal View
History
Unescape
Escape
Bug#58546 test rpl_packet timeout failure sporadically on PB rpl_packet got a timeout failure sporadically on PB when stopping slave. The real reason of this bug is that STOP SLAVE stopped IO thread first and then stopped SQL thread. It was possible that IO thread stopped after replicating part of a transaction which SQL thread was executing. SQL thread would be hung if the transaction could not be rolled back safely. After this patch, STOP SLAVE will stop SQL thread first and then stop IO thread, which guarantees that IO thread will fetch the reset of the events of the transaction that SQL thread is executing, so that SQL thread can finish the transaction if it cannot be rolled back safely. Added below auxiliary files to make the test code neater. restart_slave_sql.inc rpl_connection_master.inc rpl_connection_slave.inc rpl_connection_slave1.inc
2011-01-18 18:23:49 +01:00
let
$rpl_connection_name
=
slave1
;
Merge with MySQL 5.1.57/58 Moved some BSD string functions from Unireg
2011-05-02 19:58:45 +02:00
source
include
/
rpl_connection
.
inc
;
Reference in a new issue
Copy permalink