dtle icon indicating copy to clipboard operation
dtle copied to clipboard

retry on some retryable error

Open c0494133d4 opened this issue 5 years ago • 1 comments

E.g. Error 1205: Lock wait timeout exceeded; try restarting transaction

TODO: retry the query (i/u/d) or restart the transaction?

c0494133d4 avatar Apr 24 '20 10:04 c0494133d4

  • 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

ghost avatar Aug 30 '21 08:08 ghost

#1050

ghost avatar Apr 25 '23 06:04 ghost