dtle
dtle copied to clipboard
retry on some retryable error
E.g. Error 1205: Lock wait timeout exceeded; try restarting transaction
TODO: retry the query (i/u/d) or restart the transaction?
- slave_transaction_retries (deprecated 8.0.26)
- replica_transaction_retries (introduced 8.0.26)
- https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html
Transactions with a non-temporary error are not retried.
See mysql-test/.../rpl_mts_logical_clock_transaction_retry.test
#1050