From b031df3a7e87c89aa5d06fa0c09211fdd061df21 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Fri, 16 Nov 2012 11:21:44 -0300 Subject: [PATCH] Doc patch emphasizing how --empty-replicate-table works --- bin/pt-table-checksum | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index c9eee68f..690c9f66 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -11060,7 +11060,7 @@ pathname. default: yes -Delete previous checksums for each table before checksumming the table. This +Delete previous checksums for each table B. This option does not truncate the entire table, it only deletes rows (checksums) for each table just before checksumming the table. Therefore, if checksumming stops prematurely and there was preexisting data, there will still be rows for tables @@ -11069,6 +11069,9 @@ that were not checksummed before the tool was stopped. If you're resuming from a previous checksum run, then the checksum records for the table from which the tool resumes won't be emptied. +If you truly need to empty the replicate table, you should do a +C prior to running the tool. + =item --engines short form: -e; type: hash; group: Filter