From 03338b70e4de9866bd4afb69f0d8e5eeae3d7866 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 10 Mar 2014 18:42:25 +0000 Subject: [PATCH] Bug 10955: (follow-up) improve usage information This patch improves rebuild_zebra.pl's usage help by explaining when --skip-deletes should be considered and noting that it should be used in conjunction with a cronjob to process deletions after hours. Signed-off-by: Galen Charlton --- misc/migration_tools/rebuild_zebra.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index b613a776d9..682e4beac4 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -853,8 +853,13 @@ Parameters: table. Cannot be used with -r or -s. - --skip-deletes select only updated records marked - in the zebraqueue table, not deletes. + --skip-deletes only select record updates, not record + deletions, to avoid potential excessive + I/O when zebraidx processes deletions. + If this option is used for normal indexing, + a cronjob should be set up to run + rebuild_zebra.pl -z without --skip-deletes + during off hours. Only effective with -z. -r clear Zebra index before -- 2.20.1