mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
BUG#24860 (Incorrect SLAVE_TRANSACTION_RETRIES code can result in slave stuck):
If a temporary error occured inside a group on an event that was not the first event of the group, the slave could get stuck because the retry counter is reset whenever an event was executed successfully. This patch only reset the retry counter when an entire group has been successfully executed, or failed with a non-transient error.
This commit is contained in:
3
mysql-test/suite/rpl/t/rpl_temporary_errors-slave.opt
Normal file
3
mysql-test/suite/rpl/t/rpl_temporary_errors-slave.opt
Normal file
@@ -0,0 +1,3 @@
|
||||
--loose-debug="+d,all_errors_are_temporary_errors" --slave-transaction-retries=2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user