~percona-toolkit-dev/percona-toolkit/manual-for-pt-query-digest--type-binlog-is-ambiguous-1377888

« back to all changes in this revision

Viewing changes to bin/pt-table-checksum

merged pt-table-checksum-deadlock-1287253

Show diffs side-by-side

added added

removed removed

Lines of Context:
10561
10561
 
10562
10562
         if (   $error =~ m/Lock wait timeout exceeded/
10563
10563
             || $error =~ m/Query execution was interrupted/
 
10564
             || $error =~ m/Deadlock found/
10564
10565
         ) {
10565
10566
            # These errors/warnings can be retried, so don't print
10566
10567
            # a warning yet; do that in final_fail.
10584
10585
         my (%args) = @_;
10585
10586
         my $error = $args{error};
10586
10587
 
10587
 
         if (   $error =~ /Lock wait timeout exceeded/
10588
 
             || $error =~ /Query execution was interrupted/
 
10588
         if (   $error =~ m/Lock wait timeout exceeded/
 
10589
             || $error =~ m/Query execution was interrupted/
 
10590
             || $error =~ m/Deadlock found/
10589
10591
         ) {
10590
10592
            # These errors/warnings are not fatal but only cause this
10591
10593
            # nibble to be skipped.