pt-table-checksum uninitialized value in numeric lt (<) at line 8611
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Brian Fraser |
Bug Description
I'm getting this error on a MyISAM partitioned table that has lots of rows. I'm not immediately sure of the cause, and it doesn't always seem to happen. My local copy has some modifications, so here is the code in question:
8610 @chunks = sort { $a <=> $b } @chunks;
8611 if ( $chunks[0] < $max_chunk ) {
8612 if ( $check_pr ) {
8613 $check_
8614 }
8615
8616 # We shouldn't wait long here because we already waited
8617 # for all slaves to catchup at least until --max-lag.
8618 $sleep_time += 0.25 if $sleep_time <= $o->get('max-lag');
8619 PTDEBUG && _d('Sleep', $sleep_time, 'waiting for chunks');
8620 sleep $sleep_time;
8621 }
I note that earlier in the same section of code, we protect against this by doing ($chunks[0] || 0), so we might need to do that again here.
Related branches
- Daniel Nichter: Approve
-
Diff: 16 lines (+6/-0)1 file modifiedbin/pt-table-checksum (+6/-0)
tags: | added: crash |
Changed in percona-toolkit: | |
status: | New → Triaged |
Changed in percona-toolkit: | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Fraser (fraserbn) |
Changed in percona-toolkit: | |
milestone: | none → 2.1.7 |
Changed in percona-toolkit: | |
milestone: | 2.1.7 → 2.1.8 |
Changed in percona-toolkit: | |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
summary: |
- pt-table-checksum uninitialized value in numeric lt (<) at line 8611. + pt-table-checksum uninitialized value in numeric lt (<) at line 8611 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-582