include deadlocks among the type of errors that can be retried

This commit is contained in:
Frank Cizmich
2014-07-28 14:52:38 -03:00
parent ce0a9b0422
commit ccfe78b9f3
5 changed files with 6 additions and 4 deletions

View File

@@ -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.

View File

@@ -21,7 +21,7 @@ ERRORS DIFFS ROWS SKIPPED TABLE
0 0 0 0 mysql.time_zone_transition
0 0 0 0 mysql.time_zone_transition_type
0 0 2 0 mysql.user
0 0 38 0 percona_test.checksums
0 0 22 0 percona_test.checksums
0 0 1 0 percona_test.load_data
0 0 1 0 percona_test.sentinel
0 0 200 0 sakila.actor

View File

@@ -20,7 +20,7 @@ ERRORS DIFFS ROWS SKIPPED TABLE
0 0 0 0 mysql.time_zone_transition
0 0 0 0 mysql.time_zone_transition_type
0 0 2 0 mysql.user
0 0 37 0 percona_test.checksums
0 0 22 0 percona_test.checksums
0 0 1 0 percona_test.load_data
0 0 1 0 percona_test.sentinel
0 0 200 0 sakila.actor

View File

@@ -21,7 +21,7 @@ ERRORS DIFFS ROWS CHUNKS SKIPPED TABLE
0 0 0 1 0 mysql.time_zone_transition
0 0 0 1 0 mysql.time_zone_transition_type
0 0 2 1 0 mysql.user
0 0 38 1 0 percona_test.checksums
0 0 22 1 0 percona_test.checksums
0 0 1 1 0 percona_test.load_data
0 0 1 1 0 percona_test.sentinel
0 0 200 1 0 sakila.actor

View File

@@ -20,7 +20,7 @@ ERRORS DIFFS ROWS CHUNKS SKIPPED TABLE
0 0 0 1 0 mysql.time_zone_transition
0 0 0 1 0 mysql.time_zone_transition_type
0 0 2 1 0 mysql.user
0 0 37 1 0 percona_test.checksums
0 0 22 1 0 percona_test.checksums
0 0 1 1 0 percona_test.load_data
0 0 1 1 0 percona_test.sentinel
0 0 200 1 0 sakila.actor