Unlimited chunk size (--chunk-size-limit=0) inhibits checksumming of single-nibble tables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Frank Cizmich |
Bug Description
Unlimited chunk size (--chunk-
pt-online-
PTDEBUG && _d('Table on',$slave-
if ( $n_rows && $n_rows > ($tbl->{chunk_size} * $limit) ) {
PTDEBUG && _d('Table too large on', $slave->name());
push @too_large, [$slave->name(), $n_rows || 0];
}
Where $n_rows is the estimate number of rows in the slave's table, and the $limit is the --chunk-size-limit. So it's multiplying by zero, and this shows the slave's table as always larger.
How to repeat: examine code and documentation (http://
How to fix: ignore -for this check- --chunk-size-limit if equals zero.
tags: |
added: 52768 removed: 52758 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Confirmed by code review.