pt-table-checksum redundant argument in printf at /usr/bin/pt-table-checksum line 8171
Bug #1480719 reported by
Thomas Deutschmann
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
High
|
Frank Cizmich |
Bug Description
I was running pt-table-checksum while the script showed
08-02T22:49:10 Error checksumming table our_database.
I get the same error again when I just check "our_database.
Complete command-line used to run the tool:
=======
# pt-table-checksum --host <ip> --user <username> --ask-pass
Tool version:
===========
2.2.14
MySQL version of all servers involved:
=======
percona-
Changed in percona-toolkit: | |
status: | Incomplete → New |
Changed in percona-toolkit: | |
status: | Incomplete → New |
tags: | added: pt-table-checksum |
Changed in percona-toolkit: | |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Thomas,
I've checked that piece of code and it shows which table is remaining.
my $self;
$fraction * 100,
Transforme rs::secs_ to_time( $remaining) ,
Transforme rs::ts( $eta);
$self = {
last_reported => $args{start},
fraction => 0, # How complete the job is
callback => sub {
my ($fraction, $elapsed, $remaining, $eta) = @_;
printf STDERR "$name: %3d%% %s remain\n", <---- you are getting error at this line.
},
%args,
Can you please provide the PTDEBUG output while running pt-table-checksum? i.e
shell> PTDEBUG=1 pt-table-checksum --host <ip> --user <username> --ask-pass
Also can you provide the exact database and table name? is it contain any special characters?