mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 03:30:08 +00:00
include deadlocks among the type of errors that can be retried
This commit is contained in:
@@ -10561,6 +10561,7 @@ sub exec_nibble {
|
||||
|
||||
if ( $error =~ m/Lock wait timeout exceeded/
|
||||
|| $error =~ m/Query execution was interrupted/
|
||||
|| $error =~ m/Deadlock found when trying to get lock/
|
||||
) {
|
||||
# These errors/warnings can be retried, so don't print
|
||||
# a warning yet; do that in final_fail.
|
||||
@@ -10586,6 +10587,7 @@ sub exec_nibble {
|
||||
|
||||
if ( $error =~ /Lock wait timeout exceeded/
|
||||
|| $error =~ /Query execution was interrupted/
|
||||
|| $error =~ /Deadlock found when trying to get lock/
|
||||
) {
|
||||
# These errors/warnings are not fatal but only cause this
|
||||
# nibble to be skipped.
|
||||
|
Reference in New Issue
Block a user