Note in docs: As of pt-table-checksum 2.2.5, skipped chunks cause a non-zero exit status. Also report skipped chunks due to lock wait timeout and killed query like other skipped chunks. Enhance explanation of SKIPPED column.

This commit is contained in:
Daniel Nichter
2013-10-10 12:21:39 -07:00
parent be8da58940
commit 4805b7b5c8
6 changed files with 43 additions and 14 deletions

View File

@@ -123,7 +123,7 @@ $exit_status = pt_table_checksum::main(@args,
is(
$exit_status,
512, # = TABLE_DIFF but nothing else; https://bugs.launchpad.net/percona-toolkit/+bug/944051
16, # = TABLE_DIFF but nothing else; https://bugs.launchpad.net/percona-toolkit/+bug/944051
"--replicate-check on by default, detects diff"
);
@@ -297,7 +297,7 @@ is_deeply(
is(
$exit_status,
2048,
64, # SKIP_TABLE
"Non-zero exit status"
);